Commit 43ae82cb authored by Cédric Bellegarde's avatar Cédric Bellegarde

Do not check cache for favicon

parent e1a1bc49
Pipeline #84008 failed with stage
in 18 minutes and 22 seconds
......@@ -126,13 +126,11 @@ class WebViewArtwork:
else:
# Low quality favicon
favicon_type = "favicon_alt"
exists = App().art.exists(uri, favicon_type)
if not exists:
resized = resize_favicon(surface)
self.__save_favicon_to_cache(resized,
uri,
initial_uri,
favicon_type)
resized = resize_favicon(surface)
self.__save_favicon_to_cache(resized,
uri,
initial_uri,
favicon_type)
def __save_favicon_to_cache(self, surface, uri, initial_uri, favicon_type):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment