diff options
author | Bastian Köcher <git@kchr.de> | 2015-06-19 11:36:49 +0200 |
---|---|---|
committer | Bastian Köcher <git@kchr.de> | 2015-06-19 11:36:49 +0200 |
commit | 5bae2b3ea3d0da3ce4e1881513c5cab25c8196d7 (patch) | |
tree | 927b27eb41559b794a1230a6a59dd3db7426850d /pyload/webui/App/utils.py | |
parent | General fixup (2) (diff) | |
download | pyload-5bae2b3ea3d0da3ce4e1881513c5cab25c8196d7.tar.xz |
Fixed bug in app.py with none existing variable.
Diffstat (limited to 'pyload/webui/App/utils.py')
-rw-r--r-- | pyload/webui/App/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/App/utils.py b/pyload/webui/App/utils.py index e827552df..fe8fd1605 100644 --- a/pyload/webui/App/utils.py +++ b/pyload/webui/App/utils.py @@ -65,7 +65,7 @@ def set_permission(perms): return permission -def set_session(request, info): +def set_session(info): s = bottle.request.environ.get('beaker.session') s['authenticated'] = True s['user_id'] = info['id'] |