summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2022-03-20 08:09:00 +0100
committerNoDRM <[email protected]>2022-03-20 08:09:00 +0100
commit726d72217e0d6bb8229732a35fa85275a3b629f3 (patch)
tree6664184cbd30b4261e3c76ad554741d9d17e9b1b
parent2d51005cf141d267fc4b278f742d319e1515a17d (diff)
Hopefully fix Kindle books
-rw-r--r--DeDRM_plugin/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DeDRM_plugin/__init__.py b/DeDRM_plugin/__init__.py
index 3521018..ad2e38f 100644
--- a/DeDRM_plugin/__init__.py
+++ b/DeDRM_plugin/__init__.py
@@ -975,7 +975,7 @@ class DeDRM(FileTypePlugin):
if len(newkeys) > 0:
print("{0} v{1}: Found {2} new {3}".format(PLUGIN_NAME, PLUGIN_VERSION, len(newkeys), "key" if len(newkeys)==1 else "keys"))
try:
- book = k4mobidedrm.GetDecryptedBook(path_to_ebook,list(newkeys.items()),[],[],[],self.starttime)
+ book = k4mobidedrm.GetDecryptedBook(path_to_ebook,list(newkeys),[],[],[],self.starttime)
decoded = True
# store the new successful keys in the defaults
print("{0} v{1}: Saving {2} new {3}".format(PLUGIN_NAME, PLUGIN_VERSION, len(newkeys), "key" if len(newkeys)==1 else "keys"))