summaryrefslogtreecommitdiff
path: root/server/handlers.py
diff options
context:
space:
mode:
authorMartin <martin@leo.fri1.uni-lj.si>2015-10-06 17:08:18 +0200
committerMartin <martin@leo.fri1.uni-lj.si>2015-10-06 17:08:18 +0200
commit38f30817592a59a889780dad4de2c5a9a09e88d3 (patch)
treec44e02570c1682ea76a938e5e772965cd1e40dff /server/handlers.py
parent808712ba6592233025d261c70e5ca1b14bb74590 (diff)
parentd6aa9b9dfba1233ba5e6ce7229689cef8c7a6cc7 (diff)
Merge branch 'master' of ssh://212.235.189.51:22122/codeq-server
Diffstat (limited to 'server/handlers.py')
-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'})