From 7b45d2128c1ba1536907e73934304da4cfd29e29 Mon Sep 17 00:00:00 2001 From: Zhuoyun Wei Date: Wed, 18 Apr 2018 04:54:53 -0400 Subject: [PATCH] Don't mask ImportError if dependencies are not met --- DeDRM_calibre_plugin/DeDRM_plugin/kfxdedrm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'