Commit 0bc8966f authored by Roman Shishkin's avatar Roman Shishkin

Cleanup

parent 528a0672
......@@ -33,12 +33,7 @@ def create_app():
else:
hash = static_hash
try:
session['is_admin']
except KeyError:
session['is_admin'] = False
return dict(static_hash=hash, app_id=app.config['APP_ID'], is_admin=session['is_admin'])
return dict(static_hash=hash)
if app.config['DEBUG']:
from pony import orm
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment