skip converted files
This commit is contained in:
parent
91032c19c9
commit
0fb26ccf1d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue