From 826fd15933cbc0d425c6672ceac7d36da99db664 Mon Sep 17 00:00:00 2001 From: Hellow <74311245+HeIIow2@users.noreply.github.com> Date: Fri, 13 Oct 2023 01:02:24 +0200 Subject: [PATCH] fix: previously introduced crashed --- src/music_kraken/cli/informations/paths.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/music_kraken/cli/informations/paths.py b/src/music_kraken/cli/informations/paths.py index 4db50dd..8af01d2 100644 --- a/src/music_kraken/cli/informations/paths.py +++ b/src/music_kraken/cli/informations/paths.py @@ -2,16 +2,16 @@ from ..utils import cli_function from ...utils.path_manager import LOCATIONS from ...utils import shared +from ...utils.config import main_settings def all_paths(): return { - "Temp dir": LOCATIONS.TEMP_DIRECTORY, - "Music dir": LOCATIONS.MUSIC_DIRECTORY, - "Log file": shared.LOG_PATH, + "Temp dir": main_settings["temp_directory"], + "Music dir": main_settings["music_directory"], + "Log file": main_settings["log_file"], "Conf dir": LOCATIONS.CONFIG_DIRECTORY, - "Conf file": LOCATIONS.CONFIG_FILE, - "FFMPEG bin": LOCATIONS.FFMPEG_BIN, + "FFMPEG bin": main_settings["ffmpeg_binary"], }