Update main.py

This commit is contained in:
Ludo
2023-02-06 11:36:04 +01:00
committed by GitHub
parent e828a862a3
commit a6979bb33a

View File

@@ -214,7 +214,7 @@ def make_commit_list(data: list):
ln = len(l['name'])
ln_text = len(l['text'])
percent = "{:05.2f}".format(float(l['percent']))
op = f"{l['name']}{' ' * ((15 - ln) + (13 - ln_text))}{l['text']}{' ' * (7)}{make_graph(l['percent'])} {percent} % "
op = f"{l['name']}{' ' * ((15 - ln) + (12 - ln_text))}{l['text']}{' ' * (7)}{make_graph(l['percent'])} {percent} % "
data_list.append(op)
return '\n'.join(data_list)