diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-04-24 19:45:02 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-04-24 19:45:02 +0400 |
commit | 8f3e5947c63207ebab4f3388eafa7f0a0b1daf55 (patch) | |
tree | 13972a2a6f705f890dfaf01c006f374e2074a346 /printcore.py | |
parent | 9c3199881825ccf0820be89440169272040ffc39 (diff) |
More little adjustments to printcore.py output
Diffstat (limited to 'printcore.py')
-rwxr-xr-x | printcore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printcore.py b/printcore.py index bb6501c..b12a9a3 100755 --- a/printcore.py +++ b/printcore.py @@ -383,12 +383,12 @@ if __name__ == '__main__': try: if statusreport: p.loud = False - sys.stdout.write("Progress: 00.0%") + sys.stdout.write("Progress: 00.0%\r") sys.stdout.flush() while p.printing: time.sleep(1) if statusreport: - sys.stdout.write("%02.1f%%\r" % (100 * float(p.queueindex) / len(p.mainqueue),) ) + sys.stdout.write("Progress: %02.1f%%\r" % (100 * float(p.queueindex) / len(p.mainqueue),) ) sys.stdout.flush() p.disconnect() sys.exit(0) |