Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ableeker committed Sep 19, 2021
1 parent ceeb2e3 commit 64e5478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DeDRM_plugin/topazextract.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def processBook(self, pidlst):
# use 8 digit pids here
pid = pid[0:8]
if isinstance(pid, str):
pid = pid.encode('utf-8')
pid = pid.encode('latin-1')
print("Trying: {0}".format(pid))
bookKeys = []
data = keydata
Expand Down

1 comment on commit 64e5478

@ableeker
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct previous commit ceeb2e3.

Please sign in to comment.