From 6ba2731eb5affbcd18a65e0a39626c76ef67b878 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 21 Aug 2016 10:21:00 +0200 Subject: [PATCH] coroutine decorator added to post handler --- misp_modules/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misp_modules/__init__.py b/misp_modules/__init__.py index fa3c910b..525bdc0c 100644 --- a/misp_modules/__init__.py +++ b/misp_modules/__init__.py @@ -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')