From f36d19ccbe7b0eeccb750ec56b6a45455ee087dc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 17 Dec 2021 12:13:20 +0000 Subject: [PATCH] Include dot --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 54969c6c6..14314e7e5 100644 --- a/utils.py +++ b/utils.py @@ -3229,6 +3229,6 @@ def getFavFilenameFromUrl(baseDir: str, faviconUrl: str) -> str: """ if '://' in faviconUrl: faviconUrl = faviconUrl.split('://')[1] - if '/favicon' in faviconUrl: - faviconUrl = faviconUrl.replace('/favicon', '') + if '/favicon.' in faviconUrl: + faviconUrl = faviconUrl.replace('/favicon.', '.') return baseDir + '/favicons/' + faviconUrl.replace('/', '-')