Fix extension

main
Bob Mottram 2021-12-17 12:10:06 +00:00
parent e11180ebd0
commit 7c8fc0719f
1 changed files with 1 additions and 1 deletions

View File

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