From 33e37eb3751673de495ab766baa23c918a1bb089 Mon Sep 17 00:00:00 2001 From: Roman Shterenzon Date: Thu, 8 Apr 2021 16:46:14 +0300 Subject: [PATCH] Python 3.x fix --- DeDRM_plugin/kgenpids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeDRM_plugin/kgenpids.py b/DeDRM_plugin/kgenpids.py index 103b77b..31cb6a5 100644 --- a/DeDRM_plugin/kgenpids.py +++ b/DeDRM_plugin/kgenpids.py @@ -209,7 +209,7 @@ def getK4Pids(rec209, token, kindleDatabase): kindleAccountToken = bytearray.fromhex((kindleDatabase[1])['kindle.account.tokens']) except KeyError: - kindleAccountToken="" + kindleAccountToken = b'' pass try: