aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
diff options
context:
space:
mode:
authorPjotr Prins2016-06-19 16:03:26 +0000
committerPjotr Prins2016-06-19 16:03:26 +0000
commitaae827674cdbe46c7f1ce5d2246bf485a24dbbb3 (patch)
treef6a106c6544c8d68aae29b8a2e3e1ceb3de648b3 /wqflask/runserver.py
parent2214650621ee57b4c427bf8b5cab1128eb06db93 (diff)
downloadgenenetwork2-aae827674cdbe46c7f1ce5d2246bf485a24dbbb3.tar.gz
gn_server: SQL handling
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r--wqflask/runserver.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py
index 9339acf8..12ec904e 100644
--- a/wqflask/runserver.py
+++ b/wqflask/runserver.py
@@ -16,9 +16,11 @@ GREEN = '\033[92m'
BOLD = '\033[1m'
ENDC = '\033[0m'
-
logger.info("GN2 is running. Visit %shttp://localhost:5003/%s" % (BLUE,ENDC))
+import os
+app.config['SECRET_KEY'] = os.urandom(24)
+
from utility.tools import WEBSERVER_MODE
werkzeug_logger = logging.getLogger('werkzeug')