print msg when not png when checking
This commit is contained in:
parent
b046841c85
commit
de2dcb4f66
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue