more utf-8 issues

This commit is contained in:
j 2014-10-31 15:41:46 +01:00
commit a306370f0d
3 changed files with 4 additions and 4 deletions

View file

@ -55,7 +55,7 @@ class NodeHandler(tornado.web.RequestHandler):
content = settings.release
else:
if valid(key, data, sig):
action, args = json.loads(data)
action, args = json.loads(data.decode('utf-8'))
logger.debug('NODE action %s %s (%s)', action, args, key)
if action == 'ping':
content = {