Fixed issue for downloading one image

master
Jonathan Chan 1 year ago
parent ce9994a954
commit 7a917dd497

@ -169,7 +169,10 @@ class Spotteron:
if img.output_filename == images[index-1].output_filename: # Check for sequential duplicate images
logger.info(f"Duplicate Spotteron upload: {img.output_filename}")
continue
if len(images) == 1:
break
else:
continue
logger.info("Existing images found. Stopping getting images")
break

Loading…
Cancel
Save