revert changes

This commit is contained in:
Cyberes 2023-11-05 20:50:44 -07:00
parent 0e74283cce
commit 751b3d0a23
1 changed files with 0 additions and 2 deletions

View File

@ -60,7 +60,6 @@ if __name__ == '__main__':
row_i = row
col_iter = range(min_col, max_col + 1)
col_bar = tqdm(total=len(col_iter), leave=False)
col_bar.disable = True
with (ThreadPoolExecutor(args.threads) as executor):
futures = [executor.submit(download_tile, (row, col, args.base_url, r_headers, tiles_output, args.proxy)) for col in col_iter]
for future in as_completed(futures):
@ -68,7 +67,6 @@ if __name__ == '__main__':
if result:
result_row, result_col, new_image = result
if new_image == 'success':
col_bar.disable = False # Only show the col_bar if we've downloaded new tiles. This prevents updating at the speed of light when checking existing files.
total_downloaded += 1
tiles.append((result_row, result_col))
elif new_image == 'exist':