From 9a699af18cfdad06719690559476e97435a3c402 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 1 Apr 2025 19:12:06 +0200 Subject: [PATCH] add % --- radioPlaylist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radioPlaylist.py b/radioPlaylist.py index 0ca9847..b76b06c 100644 --- a/radioPlaylist.py +++ b/radioPlaylist.py @@ -211,7 +211,7 @@ def draw_interface(audio_files: list, playlists: dict, selected_idx: int, curren percent = percentages.get(category, 0) polskie_percent = polskie_percentages.get(category, 0) category_bar += f"{category[:4].capitalize()}: {percent:.1f}% (P:{polskie_percent:.1f}%) | " - category_bar += f"TP:{total_pl:0.1f}" + category_bar += f"TP:{total_pl:0.1f}%" if len(category_bar) > term_width - 2: category_bar = category_bar[:term_width - 5] + "..."