mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for coding style
This commit is contained in:
parent
31338467dc
commit
abc0f0f50f
1 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,8 @@ class ProgressBar(Configs):
|
|||
self.set_color()
|
||||
|
||||
if self.spinning_bar:
|
||||
bar_spinner = self.spinner(f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: {message}... {self.color}")
|
||||
bar_spinner = self.spinner(f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: "
|
||||
f"{message}... {self.color}")
|
||||
# print('\033[F', end='', flush=True)
|
||||
try:
|
||||
while True:
|
||||
|
@ -37,7 +38,8 @@ class ProgressBar(Configs):
|
|||
except KeyboardInterrupt:
|
||||
raise SystemExit(1)
|
||||
else:
|
||||
print(f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: {message}... {self.color}", end='')
|
||||
print(f"{'':>2}{self.red}{self.ascii.bullet}{self.endc} {filename}: "
|
||||
f"{message}... {self.color}", end='')
|
||||
|
||||
def assign_spinners(self) -> None:
|
||||
self.spinners: dict[str] = {
|
||||
|
|
Loading…
Reference in a new issue