Debugging for __version issue

This commit is contained in:
NoDRM 2022-03-18 17:36:55 +01:00
parent 227bda1ea6
commit 82a698edf6
1 changed files with 11 additions and 1 deletions

View File

@ -94,7 +94,17 @@ import traceback
#@@CALIBRE_COMPAT_CODE@@
import __version
try:
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):
pass