1 parent c446d16 commit 14a7c23Copy full SHA for 14a7c23
1 file changed
instagram_monitor.py
@@ -6287,6 +6287,8 @@ def _update_progress_bar(resp):
6287
increment = len(user_list)
6288
_thread_local.NAME_COUNT = thread_name_count + increment # type: ignore[misc]
6289
thread_name_count = _thread_local.NAME_COUNT # type: ignore[misc]
6290
+ if (thread_pbar.n + increment) > thread_pbar.total:
6291
+ thread_pbar.total = thread_pbar.n + increment
6292
6293
# Calculate remaining time
6294
d = thread_pbar.format_dict
0 commit comments