Fixed issue for downloading one image

master
Jonathan Chan 1 year ago
parent ce9994a954
commit 7a917dd497

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

Loading…
Cancel
Save