From 9f105d305dda4a0b53f42c215e866d482b048007 Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 24 Nov 2010 22:43:56 +0100 Subject: gunicorn related cleanup --- web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web.py') diff --git a/web.py b/web.py index 0ae73bb..505dfed 100644 --- a/web.py +++ b/web.py @@ -20,6 +20,7 @@ import subprocess from compat import str_format app = flask.Flask("booksearch") +app.debug = True index_book = open_dir(u"index", u"book") index_metadata = open_dir(u"index", u"metadata") @@ -167,5 +168,4 @@ def log_response(sender, response): sender.logger.debug('Request context is about to close down. ' 'Response: %s', response) if __name__ == "__main__": - app.debug = True app.run(host="0.0.0.0", port=8000) -- cgit v1.2.1