forked from solderpunk/AV-98
fixed an an/or logical confusion that would cause non-displayable documents to be marked as to be refetched even when not necessary
This commit is contained in:
parent
f33a4cb1e9
commit
8c752d7b44
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue