From 0463321dd5c85f1d9b3e4689c9154763ae919bab Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Tue, 16 Mar 2021 09:45:15 +0000 Subject: [PATCH] compromise width on entry name --- radiomenu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiomenu.py b/radiomenu.py index 7c05841..4b8f4d7 100644 --- a/radiomenu.py +++ b/radiomenu.py @@ -15,7 +15,7 @@ class RadioMenu(AbstractMenu): self.add_menu_item( MenuItem( i, - "{:<35}".format(station_list[i]["name"][:35]) + " " + # force 35 character fixed length + "{:<30}".format(station_list[i]["name"][:30]) + " " + # force 35 character fixed length "{:<5}".format(station_list[i]["codec"][:5]) + " " + # force 5 character fixed length "{:<5}".format(station_list[i]["bitrate"][:5]) + " " + station_list[i]["url"],