From 094dffa53bfbbf1df0ab67b0a1b05523dacf011c Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 13 Jan 2013 13:27:14 +0100 Subject: [PATCH] Bugfix: printcore.py -s was generating garbage output --- printcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printcore.py b/printcore.py index c431321..bb6501c 100755 --- a/printcore.py +++ b/printcore.py @@ -388,7 +388,7 @@ if __name__ == '__main__': while p.printing: time.sleep(1) if statusreport: - sys.stdout.write("\b\b\b\b%02.1f%%" % (100 * float(p.queueindex) / len(p.mainqueue),) ) + sys.stdout.write("%02.1f%%\r" % (100 * float(p.queueindex) / len(p.mainqueue),) ) sys.stdout.flush() p.disconnect() sys.exit(0)