fix: previously introduced crashed

This commit is contained in:
Hellow 2023-10-13 01:02:24 +02:00
parent 424357bb65
commit 826fd15933

View File

@ -2,16 +2,16 @@ from ..utils import cli_function
from ...utils.path_manager import LOCATIONS from ...utils.path_manager import LOCATIONS
from ...utils import shared from ...utils import shared
from ...utils.config import main_settings
def all_paths(): def all_paths():
return { return {
"Temp dir": LOCATIONS.TEMP_DIRECTORY, "Temp dir": main_settings["temp_directory"],
"Music dir": LOCATIONS.MUSIC_DIRECTORY, "Music dir": main_settings["music_directory"],
"Log file": shared.LOG_PATH, "Log file": main_settings["log_file"],
"Conf dir": LOCATIONS.CONFIG_DIRECTORY, "Conf dir": LOCATIONS.CONFIG_DIRECTORY,
"Conf file": LOCATIONS.CONFIG_FILE, "FFMPEG bin": main_settings["ffmpeg_binary"],
"FFMPEG bin": LOCATIONS.FFMPEG_BIN,
} }