diff --git a/pkg/thread.py b/pkg/thread.py index fae34b9..e46f19f 100644 --- a/pkg/thread.py +++ b/pkg/thread.py @@ -28,6 +28,8 @@ def download_tile(task): if not is_png(output_path): tqdm.write(f'PNG conversion for {output_path} failed. Deleting and retrying...') corrupted_image = True + else: + return row, col, 'exist' elif not valid_png_file: # We will re-download the image. Don't need to delete it, just overwrite it. # del_path(output_path)