Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: cmdtest fix, init docker repository and install docker
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilPawel committed Oct 28, 2021
1 parent 66dde70 commit 2ccd88f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aimmo_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,12 @@ def _cmd(command, comment=None):

for line in iter(p.stdout.readline, b""):
stdout_lines.append(line.decode("utf-8"))
sys.stdout.write("%s\n" % line.decode("utf-8")[:-1].rstrip())
sys.stdout.write("%s\r" % line.decode("utf-8")[:-1].rstrip())
sys.stdout.flush()

# Delete line
#sys.stdout.write("\x1b[2K")
#sys.stdout.write("\x1b[1A")
sys.stdout.write("\x1b[2K")
sys.stdout.write("\x1b[1A")

p.communicate()

Expand Down

0 comments on commit 2ccd88f

Please sign in to comment.