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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user