Updated comment for #636
This commit is contained in:
parent
e789cd5e9d
commit
9964fd0635
@ -69,6 +69,7 @@ def unescape_str(s):
|
||||
"""unescape an HTML string returned by exiftool -E"""
|
||||
if type(s) != str:
|
||||
return s
|
||||
# avoid " in values which result in json.loads() throwing an exception, #636
|
||||
s = s.replace(""", '\\"')
|
||||
return html.unescape(s)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user