summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-10-06 11:28:54 +0200
committerAleš Smodiš <aless@guru.si>2015-10-06 11:28:54 +0200
commitd6aa9b9dfba1233ba5e6ce7229689cef8c7a6cc7 (patch)
tree4a19120262a85964421c71815b6efb21125eecad
parentd546fffb74b6340fe2076f588db52d0bb6296b9f (diff)
Bugfix: revert to request.session.update_settings() in the Settings class.
-rw-r--r--server/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/handlers.py b/server/handlers.py
index a7e0fef..a1bfbd7 100644
--- a/server/handlers.py
+++ b/server/handlers.py
@@ -100,7 +100,7 @@ class Settings(CodeqService):
request.reply({'code': 1, 'message': 'New settings not provided'})
else:
try:
- request.user_session.update_settings(settings)
+ request.session.update_settings(settings)
request.session.write_settings_to_db()
except NoSuchSession:
request.reply({'code': 2, 'message': 'No such session'})