mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for bar message
This commit is contained in:
parent
ccc899294f
commit
8f6a3b70dc
1 changed files with 4 additions and 4 deletions
|
@ -27,10 +27,10 @@ class ProgressBar(Configs):
|
|||
self.set_spinner()
|
||||
self.set_color()
|
||||
|
||||
bar_message: str = (f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: "
|
||||
f"{message}... ")
|
||||
if not filename:
|
||||
bar_message: str = f"{self.endc}{message} "
|
||||
bar_message: str = f"{self.endc}{message} "
|
||||
if filename:
|
||||
bar_message: str = (f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: "
|
||||
f"{message}... ")
|
||||
|
||||
if self.spinning_bar:
|
||||
bar_spinner = self.spinner(f'{bar_message} {self.color}')
|
||||
|
|
Loading…
Reference in a new issue