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