summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2023-12-21 12:35:11 +0100
committerNoDRM <[email protected]>2023-12-21 12:35:11 +0100
commitbf2471e65b1f52bb5292caeba70a9aea31bf6653 (patch)
treeb07325c948baedf85f47e24cb7d00dc391025472
parent5492dcdbf4a2fff801fc6d8230609f2ed3f7b179 (diff)
Update kfxdedrm as suggested in #440HEADmaster
-rw-r--r--DeDRM_plugin/kfxdedrm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DeDRM_plugin/kfxdedrm.py b/DeDRM_plugin/kfxdedrm.py
index cec764c..419653e 100644
--- a/DeDRM_plugin/kfxdedrm.py
+++ b/DeDRM_plugin/kfxdedrm.py
@@ -74,7 +74,7 @@ class KFXZipBook:
# Belt and braces. PIDs should be unicode strings, but just in case...
if isinstance(pid, bytes):
pid = pid.decode('ascii')
- for dsn_len,secret_len in [(0,0), (16,0), (16,40), (32,40), (40,0), (40,40)]:
+ for dsn_len,secret_len in [(0,0), (16,0), (16,40), (32,0), (32,40), (40,0), (40,40)]:
if len(pid) == dsn_len + secret_len:
break # split pid into DSN and account secret
else: