diff options
author | NoDRM <[email protected]> | 2021-12-29 11:36:59 +0100 |
---|---|---|
committer | NoDRM <[email protected]> | 2021-12-29 11:39:48 +0100 |
commit | b11aadcca6e80621c421a644ec1cd305c2b0a479 (patch) | |
tree | 3b1c0b15e9c71d52d2fc9b67d3a167c3503871e5 /DeDRM_plugin/kfxdedrm.py | |
parent | dbf4b5402614d2f714559f91e7b7d414efa892a5 (diff) |
Bugfixes in standalone code for Calibre < 5 / Python 2
Diffstat (limited to 'DeDRM_plugin/kfxdedrm.py')
-rw-r--r-- | DeDRM_plugin/kfxdedrm.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/DeDRM_plugin/kfxdedrm.py b/DeDRM_plugin/kfxdedrm.py index 0674d63..cec764c 100644 --- a/DeDRM_plugin/kfxdedrm.py +++ b/DeDRM_plugin/kfxdedrm.py @@ -15,8 +15,9 @@ import zipfile from io import BytesIO -# 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@@ + from ion import DrmIon, DrmIonVoucher |