Commit a6e7ec01 authored by Luciano Cauzzi's avatar Luciano Cauzzi

another fix on format

parent 65b1e4e7
......@@ -11,7 +11,7 @@ def print_progress_percentage(current, total, desc=None):
percentage = (current/total) * 100
if percentage % 10 == 0:
prefix = desc + ": " if desc is not None else ""
suffix = "Total percentage = {.2f}".format(percentage)
suffix = "Total percentage = {:3.2f}".format(percentage)
logger.info(prefix + suffix)
except Exception as e:
logger.error("Error while printing percentage\n {}".format(e))
......
......@@ -3,7 +3,7 @@ import setuptools
setup(
name='logger_library',
version='0.1.12',
version='0.1.13',
packages=setuptools.find_packages(),
install_requires=['logzero', 'dependency_injector'],
url='http://github/innovation-that-excites/logger_library',
......
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