Mercurial > piecrust2
diff piecrust/serving/middlewares.py @ 680:c2ea75e37540
serve: Fix some crashes introduced by recent refactor.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 08 Mar 2016 01:05:39 -0800 |
parents | 81d9c3a3a0b5 |
children | 4850f8c21b6e |
line wrap: on
line diff
--- a/piecrust/serving/middlewares.py Mon Mar 07 00:03:13 2016 -0800 +++ b/piecrust/serving/middlewares.py Tue Mar 08 01:05:39 2016 -0800 @@ -47,7 +47,7 @@ self.run_sse_check = run_sse_check self._proc_loop = None self._out_dir = os.path.join( - root_dir, CACHE_DIR, appfactory.cache_key, 'server') + appfactory.root_dir, CACHE_DIR, appfactory.cache_key, 'server') self._handlers = { 'debug_info': self._getDebugInfo, 'werkzeug_shutdown': self._shutdownWerkzeug,