Improve the progress output.

This commit is contained in:
Mike Auty
2017-07-20 11:40:30 +01:00
parent 469afc800b
commit 14ae9db745
+1 -1
View File
@@ -221,7 +221,7 @@ def progress_callback(progress, description = None):
:param progress: Percentage of progress of the current procedure
:type progress: int or float
"""
print("\rProgress: ", round(progress, 2), "\t\t", description or '', end = '\n')
print("\rProgress: {0: 7.2f}\t\t{1:}".format(round(progress, 2), description or ''), end = '\n')
def main():