mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-20 08:26:23 +01:00
...
This commit is contained in:
parent
7dd371e5e3
commit
b7f57fa88d
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ def __init__(self, path, log, ignore_opf=False):
|
|||
|
||||
def _unquote(self, path):
|
||||
# urlunquote must run on a bytestring and will return a bytestring
|
||||
# if it runs on a unicode object, it returns a double encoded unicode
|
||||
# If it runs on a unicode object, it returns a double encoded unicode
|
||||
# string: unquote(u'%C3%A4') != unquote(b'%C3%A4').decode('utf-8')
|
||||
# and the latter is correct
|
||||
if isinstance(path, unicode):
|
||||
|
|
|
|||
Loading…
Reference in a new issue