1 parent be9e1eb commit 1b78827Copy full SHA for 1b78827
1 file changed
instagram_monitor.py
@@ -6190,6 +6190,8 @@ def _update_progress_bar(resp):
6190
increment = len(user_list)
6191
_thread_local.NAME_COUNT = thread_name_count + increment # type: ignore[misc]
6192
thread_name_count = _thread_local.NAME_COUNT # type: ignore[misc]
6193
+ if (thread_pbar.n + increment) > thread_pbar.total:
6194
+ thread_pbar.total = thread_pbar.n + increment
6195
6196
# Calculate remaining time
6197
d = thread_pbar.format_dict
0 commit comments