@ -169,6 +169,9 @@ 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}")
if len(images) == 1:
break
else:
continue
logger.info("Existing images found. Stopping getting images")