From b070fbec479f6f587a2bf4156c41042dccdae045 Mon Sep 17 00:00:00 2001 From: NHLOCAL Date: Fri, 25 Oct 2024 06:44:02 +0300 Subject: [PATCH] Update singles_sorter_v5.py --- src/core/singles_sorter_v5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/singles_sorter_v5.py b/src/core/singles_sorter_v5.py index e58a37e..74661ea 100644 --- a/src/core/singles_sorter_v5.py +++ b/src/core/singles_sorter_v5.py @@ -709,9 +709,9 @@ def list_from_csv(self): # Running in a bundle (e.g., PyInstaller) main_csv_path = Path(sys._MEIPASS) / 'app' / 'singer-list.csv' else: - main_csv_path = Path(__file__).parent / 'app' / 'singer-list.csv' + main_csv_path = Path("app/singer-list.csv").resolve() - personal_csv_path = Path(__file__).parent / 'app' / 'personal-singer-list.csv' + personal_csv_path = Path("app/personal-singer-list.csv").resolve() csv_paths = [main_csv_path, personal_csv_path]