From 304da014be93163f5d102293562bec1569da9c0a Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 10 May 2025 20:54:44 +0200 Subject: [PATCH] okay --- radioPlaylist.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/radioPlaylist.py b/radioPlaylist.py index 5d8240d..63354a4 100644 --- a/radioPlaylist.py +++ b/radioPlaylist.py @@ -217,8 +217,9 @@ def draw_interface(audio_files: list, playlists: dict, selected_idx: int, curren unassigned = len(audio_files) categories = ['late_night', 'morning', 'day', 'night'] for category in categories: - for file in playlists[current_day][category]: - unassigned -= 1 + for day in get_days_of_week(): + for file in playlists[day][category]: + unassigned -= 1 unassigned = (unassigned / len(audio_files))*100 category_bar += f"UA:{unassigned:0.1f}%"