diff --git a/CHANGELOG b/CHANGELOG index 64dfba0..f255ca4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ Changes since beta1 - improves handling of base64 images - fixes gophermap being considered as gemtext files - fixes opening mailto links +- fixes existing non-html ressources marked a to_fetch even when not needed (simple and/or confusion) - attempt at hiding XMLparsedAsHTMLWarning from BS4 library - chafa now used by default everywhere if version > 1.10 diff --git a/offpunk.py b/offpunk.py index 61e79b9..8526e03 100755 --- a/offpunk.py +++ b/offpunk.py @@ -344,7 +344,7 @@ class GeminiClient(cmd.Cmd): modedurl = mode_url(url,mode) if not displayed: #if we can’t display, we mark to sync what is not local - if not is_local(url) or not netcache.is_cache_valid(url): + if not is_local(url) and not netcache.is_cache_valid(url): self.get_list("to_fetch") r = self.list_add_line("to_fetch",url=modedurl,verbose=False) if r: