mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2025-10-23 23:07:47 -04:00
Don't mask ImportError if dependencies are not met
This commit is contained in:
parent
85e3db8f7c
commit
7b45d2128c
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue