Download:
child 150:498f984cd1ef
parent 148:f556e6e59a31
149:7dc53d7e465f
Anton Shestakov <av6@dwimlabs.net>, Sun, 17 Jul 2016 22:30:04 +0800
viewer: use thread-local IOLoop instance (recommended by Tornado docs)

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
viewer.py file | annotate | diff | comparison | revisions
--- a/viewer.py Sun Jul 17 22:29:24 2016 +0800
+++ b/viewer.py Sun Jul 17 22:30:04 2016 +0800
@@ -51,7 +51,7 @@
application = CandolintViewer()
application.listen(options.port, options.listen, xheaders=options.xheaders)
- IOLoop.instance().start()
+ IOLoop.current().start()
if __name__ == '__main__':