Skip to content

Commit

Permalink
Update display_progress_g.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamajay52 authored Jun 27, 2020
1 parent f78b942 commit f9d2aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tobrot/helper_funcs/display_progress_g.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ async def progress_for_pyrogram_g(
estimated_total_time = time_formatter(milliseconds=estimated_total_time)

progress = "[{0}{1}] \nP: {2}%\n".format(
''.join(["█" for i in range(math.floor(percentage / 5))]),
''.join(["░" for i in range(20 - math.floor(percentage / 5))]),
''.join([FINISHED_PROGRESS_STR for i in range(math.floor(percentage / 5))]),
''.join([UN_FINISHED_PROGRESS_STR for i in range(20 - math.floor(percentage / 5))]),
round(percentage, 2))

tmp = progress + "{0} of {1}\nSpeed: {2}/s\nETA: {3}\n".format(
Expand Down

0 comments on commit f9d2aeb

Please sign in to comment.