Commit b7acd0b6 authored by sumpfralle's avatar sumpfralle

update the console progress bar to 100% when closing it


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@843 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent d26f3cc5
...@@ -84,5 +84,8 @@ class ConsoleProgressBar(object): ...@@ -84,5 +84,8 @@ class ConsoleProgressBar(object):
def finish(self): def finish(self):
if self.style == ConsoleProgressBar.STYLE_NONE: if self.style == ConsoleProgressBar.STYLE_NONE:
return return
# show that we are finished
self.update(percent=100)
# finish the line
self.output.write(os.linesep) self.output.write(os.linesep)
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