Merge pull request #5888 from Shrhawk/shr/bug/TNL-590-encode-error

Handle Unicode for Incoming Keys
This commit is contained in:
Shrhawk
2014-12-02 17:53:47 +05:00
2 changed files with 6 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ class VideoStudentViewHandlers(object):
if dispatch == 'save_user_state':
for key in data:
if hasattr(self, key) and key in accepted_keys:
if key in accepted_keys:
if key in conversions:
value = conversions[key](data[key])
else: