Commit b55a8060 authored by echel0n's avatar echel0n

Pre-Release v9.4.48.dev9

parent bc737ae9
# Changelog
- * 09a9331 - 2018-12-02: Pre-Release v9.4.48.dev9
- * ade442d - 2018-12-02: Upgraded to Tornado 5.1.1 Refactored IOLoop placement.
- * 97cf604 - 2018-12-02: Pre-Release v9.4.48.dev8
- * 977b8be - 2018-12-02: Reverted tornado back to v4.5.2
......
......@@ -17,7 +17,7 @@ profilehooks == 1.10.0
Send2Trash == 1.5.0
six == 1.11.0
subliminal == 2.0.5
tornado == 4.5.2
tornado == 5.1.1
xmltodict == 0.11.0
MultipartPostHandler == 0.1.0
beautifulsoup4 == 4.6.3
......
......@@ -199,7 +199,6 @@ class BaseHandler(RequestHandler):
return self.render_string(template_name, **kwargs)
def worker(self, function, **kwargs):
threading.currentThread().setName("TORNADO")
kwargs = recursive_unicode(kwargs)
for arg, value in kwargs.items():
if len(value) == 1:
......@@ -230,12 +229,16 @@ class WebHandler(BaseHandler):
@authenticated
@tornado.gen.coroutine
def get(self, *args, **kwargs):
self.write(self.route())
result = self.route()
if result:
self.write(result)
@authenticated
@tornado.gen.coroutine
def post(self, *args, **kwargs):
self.write(self.route())
result = self.route()
if result:
self.write(result)
def route(self):
# route -> method obj
......
This diff is collapsed.
9.4.48.dev8
\ No newline at end of file
9.4.48.dev9
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment