Skip to content

Commit 8553cd3

Browse files
Update progress bar time limit
1 parent f0bd392 commit 8553cd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

helper_funcs/display_progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async def progress_for_pyrogram(
3131
):
3232
now = time.time()
3333
diff = now - start
34-
if round(diff % 10.00) == 0 or current == total:
34+
if round(diff % 5.00) == 0 or current == total:
3535
# if round(current / total * 100, 0) % 5 == 0:
3636
percentage = current * 100 / total
3737
speed = current / diff

0 commit comments

Comments
 (0)