More Python2 fixes

This commit is contained in:
NoDRM
2023-08-03 20:45:06 +02:00
parent d388ae72fd
commit 53996cf49c
14 changed files with 44 additions and 41 deletions

View File

@@ -15,6 +15,6 @@ if "calibre" in sys.modules and sys.version_info[0] == 2:
sys.path.insert(0, os.path.join(config_dir, "plugins", "DeDRM.zip"))
# Explicitly set the package identifier so we are allowed to import stuff ...
#__package__ = "DeDRM_plugin"
__package__ = "calibre_plugins.dedrm"
#@@CALIBRE_COMPAT_CODE_END@@