commit c3542a5e42ebef2732a387741bba0815728c31c0 parent 756712c468cdcf163e4ce4ccddf79b54ac8cf0e3 Author: Sheng <webmaster0115@gmail.com> Date: Sun, 8 Apr 2018 21:52:54 +0800 Explicit exception ImportError Diffstat:
M | main.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.py b/main.py @@ -18,7 +18,7 @@ from tornado.util import errno_from_exception try: from concurrent.futures import Future -except: +except ImportError: from tornado.concurrent import Future