Make plugin work in Calibre 6 (Qt 6)

This commit is contained in:
NoDRM
2022-01-02 21:18:13 +01:00
parent f17b255159
commit 5b3e3e420f
4 changed files with 20 additions and 8 deletions

View File

@@ -136,7 +136,7 @@ if iswindows:
if os.path.isfile(os.path.join(p, "libcrypto-1_1.dll")):
return os.path.join(p, "libcrypto-1_1.dll")
if os.path.isfile(os.path.join(p, "libeay32.dll")):
return os.path.join(p, "libeay.dll")
return os.path.join(p, "libeay32.dll")
return None
def _load_crypto_libcrypto():