print msg when not png when checking

This commit is contained in:
Cyberes 2023-11-04 20:21:34 -06:00
parent b046841c85
commit de2dcb4f66
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def download_tile(task):
if not is_png(output_path):
# Delete the file and try again.
del_path(output_path)
# return row, col, 'failure'
tqdm.write(f'{output_path} is not a PNG, deleting and retrying...')
else:
return row, col, 'exist'
tile_url = f"{base_url}/{row}/{col}"