adding a comment to understand what I did

This commit is contained in:
Lionel Dricot 2023-09-25 11:05:55 +02:00
parent 39c5f17a39
commit 7ffbd1b288
1 changed files with 1 additions and 1 deletions

View File

@ -183,12 +183,12 @@ class opencache():
#if terminal = False, we dont try to open in the terminal,
#we immediately fallback to xdg-open.
#netcache currently provide the path if its a file.
#may this should be migrated here.
if not offutils.is_local(inpath):
kwargs["images_mode"] = mode
cachepath = netcache.fetch(inpath,**kwargs)
if not cachepath:
return False
# folowing line is for :// which are locals (file,list)
elif "://" in inpath:
cachepath = netcache.fetch(inpath,**kwargs)
elif inpath.startswith("mailto:"):