aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorPjotr Prins2016-09-10 11:43:21 +0200
committerPjotr Prins2016-09-10 11:43:21 +0200
commitec7d4e1198bc8d2f83ce99b41e2084fbce6a0be7 (patch)
tree0803d338afddb68042bd52d87ceb9ed347148f6a /wqflask/utility
parentcd7e98a79916c1cc7466f16067c2c8283bff989e (diff)
downloadgenenetwork2-ec7d4e1198bc8d2f83ce99b41e2084fbce6a0be7.tar.gz
Support for running maintenance scripts so they can pick up all webserver settings
Run with ./bin/genenetwork2 ~/my_settings.py -c ./wqflask/maintenance/gen_select_dataset.py
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/tools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index bb8241f5..2c8cc5c5 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -3,6 +3,7 @@
import os
import sys
+
from wqflask import app
# Use the standard logger here to avoid a circular dependency