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
|
||||
|
||||
try:
|
||||
import ion
|
||||
except:
|
||||
from calibre_plugins.dedrm import ion
|
||||
except ImportError:
|
||||
import ion
|
||||
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
|
|
Loading…
Reference in New Issue