aboutsummaryrefslogtreecommitdiffstats
path: root/cfbe.py
diff options
context:
space:
mode:
authorSteve Losh <steve@stevelosh.com>2009-02-07 12:35:37 -0500
committerSteve Losh <steve@stevelosh.com>2009-02-07 12:35:37 -0500
commit5f61c45a6f5265deb5a9da1fd53da66b4baae104 (patch)
tree68a9859e5311c3969364a64402b52341462dd8e5 /cfbe.py
parent7a10b49793e57ec22280816107e07963e0fb87d9 (diff)
downloadbugseverywhere-5f61c45a6f5265deb5a9da1fd53da66b4baae104.tar.gz
Forgot to rearrange the script.
Diffstat (limited to 'cfbe.py')
-rwxr-xr-xcfbe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfbe.py b/cfbe.py
index d22d6b9..7ace04c 100755
--- a/cfbe.py
+++ b/cfbe.py
@@ -18,8 +18,6 @@ template_root = path.join(module_dir, 'templates')
env = Environment(loader=FileSystemLoader(template_root))
env.filters['datetimeformat'] = datetimeformat
-WebInterface = web.WebInterface(path.abspath(options['bug_root']))
-
def build_parser():
"""Builds and returns the command line option parser."""
@@ -41,4 +39,6 @@ def parse_arguments():
config = path.join(module_dir, 'cfbe.config')
options = parse_arguments()
+
+WebInterface = web.WebInterface(path.abspath(options['bug_root']))
cherrypy.quickstart(WebInterface, '/', config)