changeset 44:a62452ab5080

Correctly set the `debug` flag on the app.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 21 Aug 2014 22:52:18 -0700
parents f14889d6b067
children efd0d3bacc9e
files piecrust/main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/main.py	Thu Aug 21 22:52:05 2014 -0700
+++ b/piecrust/main.py	Thu Aug 21 22:52:18 2014 -0700
@@ -141,7 +141,7 @@
     if not root:
         app = NullPieCrust()
     else:
-        app = PieCrust(root, cache=pre_args.cache)
+        app = PieCrust(root, cache=pre_args.cache, debug=pre_args.debug)
 
     # Handle a configuration variant.
     if pre_args.config_variant is not None: