mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-11-16 07:47:18 +01:00
Another Python 3 fix
This commit is contained in:
parent
425d8af73e
commit
91e4645315
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ def unescape(text):
|
|||
else:
|
||||
# named entity
|
||||
try:
|
||||
text = chr(htmlentitydefs.name2codepoint[text[1:-1]])
|
||||
text = chr(html.entities.name2codepoint[text[1:-1]])
|
||||
except KeyError:
|
||||
pass
|
||||
return text # leave as is
|
||||
|
|
Loading…
Reference in a new issue