update bar postix
This commit is contained in:
parent
3ff29d678c
commit
14ac8f4dde
|
@ -54,7 +54,7 @@ if __name__ == '__main__':
|
|||
total_downloaded = 0
|
||||
row_i = min_row
|
||||
row_iter = range(min_row, max_row + 1)
|
||||
row_bar = tqdm(total=len(row_iter), desc=f'Row {row_i}', postfix={'failures': len(retries)})
|
||||
row_bar = tqdm(total=len(row_iter), desc=f'Row {row_i}', postfix={'new_files': total_downloaded, 'failures': len(retries)})
|
||||
for row in row_iter:
|
||||
row_i = row
|
||||
col_bar = tqdm(total=len(range(min_col, max_col + 1)), leave=False)
|
||||
|
@ -75,6 +75,7 @@ if __name__ == '__main__':
|
|||
col_bar.update()
|
||||
row_bar.refresh()
|
||||
col_bar.close()
|
||||
row_bar.set_postfix({'new_files': total_downloaded, 'failures': len(retries)})
|
||||
row_bar.update()
|
||||
row_bar.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue