summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2022-03-22 15:49:44 +0100
committerNoDRM <[email protected]>2022-03-22 15:49:44 +0100
commitdcbb3775667ab716f2da0c61d97000750cd7f88e (patch)
tree72919570ff7aaa02dbd98e632dc35563e0e3587b
parent76ce6d9c5c813b57d37173280cf3800b90530970 (diff)
Fix Nook study key retrieval
-rw-r--r--CHANGELOG.md2
-rw-r--r--DeDRM_plugin/ignoblekeyNookStudy.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4cb498b..9f3940e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -63,4 +63,6 @@ List of changes since the fork of Apprentice Harper's repository:
- Obok: Fix issues with invalid UTF-8 characters by merging #26 by baby-bell.
- ineptpdf: Fix broken V=3 key obfuscation algorithm.
- ineptpdf: (Hopefully) fix issues with some B&N PDF files.
+- Fix broken Amazon K4PC key retrieval (fixes #38)
- Fix bug that corrupts output file for Print-Replica Amazon books (fixes #30).
+- Fix Nook Study key retrieval code (partially fixes #50).
diff --git a/DeDRM_plugin/ignoblekeyNookStudy.py b/DeDRM_plugin/ignoblekeyNookStudy.py
index 93c691b..fd85660 100644
--- a/DeDRM_plugin/ignoblekeyNookStudy.py
+++ b/DeDRM_plugin/ignoblekeyNookStudy.py
@@ -157,7 +157,7 @@ def getNookLogFiles():
logpath = path +'\\Barnes & Noble\\NOOKstudy\\logs\\BNClientLog.txt'
if os.path.isfile(logpath):
found = True
- print('Found nookStudy log file: ' + logpath.encode('ascii','ignore'), file=sys.stderr)
+ print('Found nookStudy log file: ' + logpath, file=sys.stderr)
logFiles.append(logpath)
else:
home = os.getenv('HOME')