Skip to content

Commit

Permalink
[u] formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gmankab committed Sep 12, 2024
1 parent 5aadb59 commit cf996de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reposter/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_renderables(self):
rich.progress.BarColumn(),
rich.progress.TimeElapsedColumn(),
rich.progress.TaskProgressColumn(),
rich.progress.TextColumn("[progress.description]{task.description}"),
rich.progress.TextColumn('[progress.description]{task.description}'),
)
elif task.fields.get('transfer'):
self.columns = (
Expand All @@ -58,15 +58,15 @@ def get_renderables(self):
rich.progress.FileSizeColumn(),
'/',
rich.progress.TotalFileSizeColumn(),
rich.progress.TextColumn("[progress.description]{task.description}"),
rich.progress.TextColumn('[progress.description]{task.description}'),
)
else:
self.columns = (
'➜',
rich.progress.BarColumn(),
rich.progress.TimeElapsedColumn(),
rich.progress.MofNCompleteColumn(),
rich.progress.TextColumn("[progress.description]{task.description}"),
rich.progress.TextColumn('[progress.description]{task.description}'),
)
yield self.make_tasks_table([task])

Expand Down

0 comments on commit cf996de

Please sign in to comment.