From 5f61c45a6f5265deb5a9da1fd53da66b4baae104 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Sat, 7 Feb 2009 12:35:37 -0500 Subject: [PATCH] Forgot to rearrange the script. --- cfbe.py | 4 ++-- 1 file 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) -- 2.26.2