Commit 094dffa5 authored by Alessandro Ranellucci's avatar Alessandro Ranellucci

Bugfix: printcore.py -s was generating garbage output

parent a7300b60
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment