From c3542a5e42ebef2732a387741bba0815728c31c0 Mon Sep 17 00:00:00 2001 From: Sheng Date: Sun, 8 Apr 2018 21:52:54 +0800 Subject: [PATCH] Explicit exception ImportError --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5eb3dec..2cf6497 100644 --- 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