Mercurial > piecrust2
diff foodtruck/main.py @ 602:c6bc0ef03f82
admin: Better UI for publishing websites.
* Support multiple publish targets.
* Dedicated UI for publishing.
* Some UI polish.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 27 Jan 2016 18:02:25 -0800 |
parents | d7baac1d01e6 |
children | 200c7063affa |
line wrap: on
line diff
--- a/foodtruck/main.py Sun Jan 24 10:42:33 2016 -0800 +++ b/foodtruck/main.py Wed Jan 27 18:02:25 2016 -0800 @@ -16,8 +16,8 @@ # This is needed for Werkzeug's code reloader to be able to correctly # shutdown the child process in order to restart it (otherwise, SSE # generators will keep it alive). - from .views import baking + from . import pubutil logger.debug("Shutting down SSE generators from main...") - baking.server_shutdown = True + pubutil.server_shutdown = True raise