mirror of https://gitlab.com/bashrc2/epicyon
Ensure that the image data for svg is a string
parent
1aa2993bcc
commit
7a182248fd
|
@ -179,7 +179,7 @@ def _downloadNewswireFeedFavicon(session, baseDir: str,
|
|||
|
||||
# check svg for dubious scripts
|
||||
if favUrl.endswith('.svg'):
|
||||
if dangerousSVG(imageData, False):
|
||||
if dangerousSVG(str(imageData), False):
|
||||
return False
|
||||
|
||||
# save to the cache
|
||||
|
|
Loading…
Reference in New Issue