downloading images only if support for them is enabled, of course
This commit is contained in:
parent
9528d3d5f6
commit
3e560d21de
|
@ -1992,7 +1992,8 @@ class GeminiClient(cmd.Cmd):
|
|||
# Pass file to handler, unless we were asked not to
|
||||
if gi :
|
||||
display = handle and not self.sync_only
|
||||
if display and self.options["download_images_first"] and not self.offline_only:
|
||||
if display and _RENDER_IMAGE and self.options["download_images_first"] \
|
||||
and not self.offline_only:
|
||||
# We download images first
|
||||
for image in gi.get_images(mode=mode):
|
||||
if image:
|
||||
|
|
Loading…
Reference in New Issue