cli empty team name fix

This commit is contained in:
Xevion
2020-06-22 16:19:12 -05:00
parent 5f670f54e4
commit 82536ad385

4
cli.py
View File

@@ -71,6 +71,10 @@ def refreshScores() -> None:
# Otherwise just add a space in front instead
team['rank'] = " " + str(i + 1)
# Check for empty team name
if not team['name']:
team['name'] = f'Team {team["id"]}'
def main(screen) -> None:
"""