mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-30 15:59:16 +02:00
oops
This commit is contained in:
+1
-1
@@ -219,7 +219,7 @@ def draw_interface(audio_files: list, playlists: dict, selected_idx: int, curren
|
|||||||
polskie_percent = polskie_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"{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}% | "
|
||||||
category_bar += f"UA:{unassigned:0.1}%"
|
category_bar += f"UA:{unassigned:0.1f}%"
|
||||||
|
|
||||||
if len(category_bar) > term_width - 2:
|
if len(category_bar) > term_width - 2:
|
||||||
category_bar = category_bar[:term_width - 5] + "..."
|
category_bar = category_bar[:term_width - 5] + "..."
|
||||||
|
|||||||
Reference in New Issue
Block a user