mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-11-05 05:26:09 +06:00
Python 3 fix
This commit is contained in:
parent
76a47e0dd0
commit
425d8af73e
|
@ -559,7 +559,7 @@ class DocParser(object):
|
|||
if (link > 0):
|
||||
linktype = self.link_type[link-1]
|
||||
title = self.link_title[link-1]
|
||||
title = title.rstrip(b'. ')
|
||||
title = title.rstrip(b'. ').decode('utf-8')
|
||||
alt_title = parares[lstart:]
|
||||
alt_title = alt_title.strip()
|
||||
# now strip off the actual printed page number
|
||||
|
|
Loading…
Reference in New Issue
Block a user