Skip to content

Commit

Permalink
Bugfix: printcore.py -s was generating garbage output
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Jan 13, 2013
1 parent a7300b6 commit 094dffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion printcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def _send(self, command, lineno = 0, calcchecksum = False):
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)
Expand Down

0 comments on commit 094dffa

Please sign in to comment.