diff options
author | zsloan | 2018-04-02 21:54:13 +0000 |
---|---|---|
committer | zsloan | 2018-04-02 21:54:13 +0000 |
commit | d3e4021452f2bf6677fe1dbdf98749030bd2dd3b (patch) | |
tree | 5c28290ada75e908c7fa2e5d1b06220891e64210 /wqflask | |
parent | b441ba37af5ea246596ee8ad8e572e9603d36045 (diff) | |
download | genenetwork2-d3e4021452f2bf6677fe1dbdf98749030bd2dd3b.tar.gz |
Fixed error that caused server to not start with new user code
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/user_manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/user_manager.py b/wqflask/wqflask/user_manager.py index a0605803..ac3824a7 100644 --- a/wqflask/wqflask/user_manager.py +++ b/wqflask/wqflask/user_manager.py @@ -54,7 +54,7 @@ import requests from utility.elasticsearch_tools import get_elasticsearch_connection, get_user_by_unique_column, get_item_by_unique_column, save_user, es_save_data from smtplib import SMTP -from utility.tools import SMTP_CONNECT, SMTP_USERNAME, SMTP_PASSWORD +from utility.tools import SMTP_CONNECT, SMTP_USERNAME, SMTP_PASSWORD, LOG_SQL_ALCHEMY THREE_DAYS = 60 * 60 * 24 * 3 #THREE_DAYS = 45 @@ -219,7 +219,7 @@ class UserSession(object): def user_ob(self): """Actual sqlalchemy record""" # Only look it up once if needed, then store it - raise "OBSOLETE: use ElasticSearch instead" + # raise "OBSOLETE: use ElasticSearch instead" try: if LOG_SQL_ALCHEMY: logging.getLogger('sqlalchemy.pool').setLevel(logging.DEBUG) |