Fix except clause

except: will catch specific error.
This commit is contained in:
林檎
2017-03-06 11:44:54 +08:00
parent cf4816fc13
commit 0bc4f52783
4 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ try:
from urllib.parse import quote
from imp import reload
from past.builtins import xrange
except:
except ImportError as e:
from urllib import quote
try: