From 14ae9db745e3d38d0ccbc83b5a09ec2c6644ba59 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Jul 2017 11:40:30 +0100 Subject: [PATCH] Improve the progress output. --- volatility/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/cli/__init__.py b/volatility/cli/__init__.py index 50e55bfb3..0d6de1a08 100644 --- a/volatility/cli/__init__.py +++ b/volatility/cli/__init__.py @@ -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():