diff options
author | Pjotr Prins | 2016-06-19 16:03:26 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-19 16:03:26 +0000 |
commit | aae827674cdbe46c7f1ce5d2246bf485a24dbbb3 (patch) | |
tree | f6a106c6544c8d68aae29b8a2e3e1ceb3de648b3 /wqflask/runserver.py | |
parent | 2214650621ee57b4c427bf8b5cab1128eb06db93 (diff) | |
download | genenetwork2-aae827674cdbe46c7f1ce5d2246bf485a24dbbb3.tar.gz |
gn_server: SQL handling
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r-- | wqflask/runserver.py | 4 |
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') |