1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-06 02:03:02 +00:00

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

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: