summaryrefslogtreecommitdiffstats
path: root/DeDRM_plugin/genbook.py
diff options
context:
space:
mode:
Diffstat (limited to 'DeDRM_plugin/genbook.py')
-rw-r--r--DeDRM_plugin/genbook.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/DeDRM_plugin/genbook.py b/DeDRM_plugin/genbook.py
index a0e0d0d..21186b8 100644
--- a/DeDRM_plugin/genbook.py
+++ b/DeDRM_plugin/genbook.py
@@ -35,8 +35,7 @@ import getopt
from struct import pack
from struct import unpack
-# Calibre stuff - so we can import from our ZIP without absolute module name
-sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+#@@CALIBRE_COMPAT_CODE@@
class TpzDRMError(Exception):