|
|
|
@ -14,7 +14,8 @@ if "calibre" in sys.modules and sys.version_info[0] == 2:
|
|
|
|
|
if os.path.join(config_dir, "plugins", "DeDRM.zip") not in sys.path:
|
|
|
|
|
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__ = "calibre_plugins.dedrm"
|
|
|
|
|
if "calibre" in sys.modules:
|
|
|
|
|
# Explicitly set the package identifier so we are allowed to import stuff ...
|
|
|
|
|
__package__ = "calibre_plugins.dedrm"
|
|
|
|
|
|
|
|
|
|
#@@CALIBRE_COMPAT_CODE_END@@
|
|
|
|
|