mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-01 07:57:26 +01:00
Updated for process print line
This commit is contained in:
parent
b15137098b
commit
729f57c9c8
1 changed files with 3 additions and 3 deletions
|
@ -68,11 +68,11 @@ class MultiProcess(Configs):
|
|||
if not process_1.is_alive():
|
||||
process_2.terminate()
|
||||
if process_1.exitcode != 0:
|
||||
print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {failed}{' ' * 17}", end='\r')
|
||||
print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {failed}{' ' * 17}", end='')
|
||||
elif installed:
|
||||
print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {skip}{' ' * 17}", end='\r')
|
||||
print(f"\r{'':>2}{self.bred}{self.ascii.bullet}{self.endc} {filename} {skip}{' ' * 17}", end='')
|
||||
else:
|
||||
print(f"\r{'':>2}{self.bgreen}{self.ascii.bullet}{self.endc} {filename} {done}{' ' * 17}", end='\r')
|
||||
print(f"\r{'':>2}{self.bgreen}{self.ascii.bullet}{self.endc} {filename} {done}{' ' * 17}", end='')
|
||||
|
||||
# Restore the terminal cursor
|
||||
print('\x1b[?25h', self.endc)
|
||||
|
|
Loading…
Add table
Reference in a new issue