Debugging for __version issue

This commit is contained in:
NoDRM 2022-03-18 17:36:55 +01:00
parent 227bda1ea6
commit 82a698edf6

View File

@ -94,7 +94,17 @@ import traceback
#@@CALIBRE_COMPAT_CODE@@ #@@CALIBRE_COMPAT_CODE@@
try:
import __version import __version
except ModuleNotFoundError:
print("#############################")
print("__version not found, path is:")
print(sys.path)
print("I'm at:")
print(__file__)
print("#############################")
raise
class DeDRMError(Exception): class DeDRMError(Exception):
pass pass