Don't mask ImportError if dependencies are not met

This commit is contained in:
Zhuoyun Wei 2018-04-18 04:54:53 -04:00
parent 85e3db8f7c
commit 7b45d2128c
No known key found for this signature in database
GPG Key ID: AE9C22168EBA0BDB
1 changed files with 2 additions and 2 deletions

View File

@ -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'