mirror of https://gitlab.com/bashrc2/epicyon
Fix extension
parent
e11180ebd0
commit
7c8fc0719f
|
@ -169,7 +169,7 @@ def _downloadNewswireFeedFavicon(session, baseDir: str,
|
|||
}
|
||||
for ext, mimeExt in extensionsToMime.items():
|
||||
if 'image/' + mimeExt in mimeType:
|
||||
favUrl = favUrl.replace('.ico', '.' + mimeExt)
|
||||
favUrl = favUrl.replace('.ico', '.' + ext)
|
||||
break
|
||||
|
||||
# create cached favicons directory if needed
|
||||
|
|
Loading…
Reference in New Issue