gi might be None. Strange but it seems to happen in --sync.
This commit is contained in:
parent
d92a6db6b6
commit
1110bf5e0c
|
@ -611,7 +611,7 @@ you'll be able to transparently follow links to Gopherspace!""")
|
|||
|
||||
# Pass file to handler, unless we were asked not to
|
||||
#SPECIFIC GEMINI : default handler should be provided by the GI.
|
||||
if handle :
|
||||
if gi and handle :
|
||||
if gi.get_mime() == "text/gemini":
|
||||
self._handle_gemtext(gi, display=not self.sync_only)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user