mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2025-01-30 20:34:32 +01:00
Fix
This commit is contained in:
parent
ceeb2e3c61
commit
64e5478ad1
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ class TopazBook:
|
||||||
# use 8 digit pids here
|
# use 8 digit pids here
|
||||||
pid = pid[0:8]
|
pid = pid[0:8]
|
||||||
if isinstance(pid, str):
|
if isinstance(pid, str):
|
||||||
pid = pid.encode('utf-8')
|
pid = pid.encode('latin-1')
|
||||||
print("Trying: {0}".format(pid))
|
print("Trying: {0}".format(pid))
|
||||||
bookKeys = []
|
bookKeys = []
|
||||||
data = keydata
|
data = keydata
|
||||||
|
|
Loading…
Add table
Reference in a new issue