Skip to content

Commit 1b78827

Browse files
committed
Restore dropped lines
1 parent be9e1eb commit 1b78827

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

instagram_monitor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6190,6 +6190,8 @@ def _update_progress_bar(resp):
61906190
increment = len(user_list)
61916191
_thread_local.NAME_COUNT = thread_name_count + increment # type: ignore[misc]
61926192
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
61936195

61946196
# Calculate remaining time
61956197
d = thread_pbar.format_dict

0 commit comments

Comments
 (0)