mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2025-01-17 21:30:38 +06:00
Don't mask ImportError if dependencies are not met
This commit is contained in:
parent
85e3db8f7c
commit
7b45d2128c
@ -15,9 +15,9 @@ except ImportError:
|
|||||||
from StringIO import StringIO
|
from StringIO import StringIO
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import ion
|
|
||||||
except:
|
|
||||||
from calibre_plugins.dedrm import ion
|
from calibre_plugins.dedrm import ion
|
||||||
|
except ImportError:
|
||||||
|
import ion
|
||||||
|
|
||||||
|
|
||||||
__license__ = 'GPL v3'
|
__license__ = 'GPL v3'
|
||||||
|
Loading…
Reference in New Issue
Block a user