Mercurial > wikked
changeset 244:88be42fe3d44
Only import `settings` if we need to.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 29 Mar 2014 22:49:34 -0700 |
parents | c6ec6096bd95 |
children | 729fa268c981 |
files | wikked/commands/web.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wikked/commands/web.py Sat Mar 29 22:28:07 2014 -0700 +++ b/wikked/commands/web.py Sat Mar 29 22:49:34 2014 -0700 @@ -41,8 +41,8 @@ os.chdir(ctx.params.root) # Setup some settings that need to be set before the app is created. - import wikked.settings if ctx.args.usetasks: + import wikked.settings wikked.settings.WIKI_ASYNC_UPDATE = True # Create/import the app.