skip grid if only one image returned
parent
72700000cf
commit
ec7c4fe58a
|
|
@ -197,7 +197,7 @@ class DistributedScript(scripts.Script):
|
|||
return
|
||||
|
||||
# generate and inject grid
|
||||
if opts.return_grid:
|
||||
if opts.return_grid and len(processed.images) > 1:
|
||||
grid = image_grid(processed.images, len(processed.images))
|
||||
processed_inject_image(
|
||||
image=grid,
|
||||
|
|
|
|||
Loading…
Reference in New Issue