Fix for data

This commit is contained in:
Dimitris Zlatanidis 2024-03-18 20:20:38 +02:00
parent 3feec4a1b3
commit c74a9346f5

View file

@ -104,10 +104,10 @@ class Upgrade(Configs):
if len(name) > 18:
name: str = f'{name[:15]}...'
if len(data['inst_version']) > 15:
inst_version: str = f"{data['inst_version'][:11]}..."
if len(data['repo_version']) > 15:
repo_version: str = f"{data['repo_version'][:11]}..."
if len(inst_version) > 15:
inst_version: str = f"{inst_version[:11]}..."
if len(repo_version) > 15:
repo_version: str = f"{repo_version[:11]}..."
print(f"{name:<19} {inst_version:<15} {inst_build:<6} {repo_version:<15} "
f"{repo_build:<5} {data['repo']:>14}")