coroutine decorator added to post handler

pull/46/head
Alexandre Dulaunoy 2016-08-21 10:21:00 +02:00
parent bf29e30e4b
commit 6ba2731eb5
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ class ListModules(tornado.web.RequestHandler):
class QueryModule(tornado.web.RequestHandler):
@tornado.gen.coroutine
def post(self):
global mhandlers
jsonpayload = self.request.body.decode('utf-8')