Skip to content

Commit 14a7c23

Browse files
committed
Restored dropped lines for advanced fetching code
1 parent c446d16 commit 14a7c23

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
@@ -6287,6 +6287,8 @@ def _update_progress_bar(resp):
62876287
increment = len(user_list)
62886288
_thread_local.NAME_COUNT = thread_name_count + increment # type: ignore[misc]
62896289
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
62906292

62916293
# Calculate remaining time
62926294
d = thread_pbar.format_dict

0 commit comments

Comments
 (0)