From: Zhuoyun Wei Date: Wed, 18 Apr 2018 08:54:53 +0000 (-0400) Subject: Don't mask ImportError if dependencies are not met X-Git-Url: http://git.xmof.duckdns.org/?a=commitdiff_plain;h=7b45d2128c1ba1536907e73934304da4cfd29e29;p=DeDRM.git Don't mask ImportError if dependencies are not met --- diff --git a/DeDRM_calibre_plugin/DeDRM_plugin/kfxdedrm.py b/DeDRM_calibre_plugin/DeDRM_plugin/kfxdedrm.py index 8885e09..c2b9bb1 100644 --- a/DeDRM_calibre_plugin/DeDRM_plugin/kfxdedrm.py +++ b/DeDRM_calibre_plugin/DeDRM_plugin/kfxdedrm.py @@ -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'