diff options
Diffstat (limited to 'web.py')
-rw-r--r-- | web.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |