diff piecrust/app.py @ 223:7decf00eee47

serve: Don't expose the debug info right away when running with `--debug`. The `--debug` flag controls logging level and how errors are reported by the server. Appending `?!debug` now is the only thing that shows the debug window.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 03 Feb 2015 18:50:58 -0800
parents 0a86a7a6b284
children 016d42c23ba9
line wrap: on
line diff
--- a/piecrust/app.py	Tue Feb 03 18:48:13 2015 -0800
+++ b/piecrust/app.py	Tue Feb 03 18:50:58 2015 -0800
@@ -123,6 +123,7 @@
                 'cache_time': 28800,
                 'display_errors': True,
                 'enable_debug_info': True,
+                'show_debug_info': False,
                 'use_default_content': True
                 })
         sitec = values.get('site')