Updated comment for #636

This commit is contained in:
Rhet Turnbull 2022-02-23 06:15:03 -08:00
parent e789cd5e9d
commit 9964fd0635

View File

@ -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)