some stuff

This commit is contained in:
Hellow2 2023-06-16 08:39:30 +02:00
parent 1324802db7
commit c2e070a899
3 changed files with 18 additions and 9 deletions

View File

@ -61,15 +61,6 @@ def exit_message():
print("See you soon! :3") print("See you soon! :3")
def paths():
print(f"Temp dir:\t{shared.TEMP_DIR}\n"
f"Music dir:\t{shared.MUSIC_DIR}\n"
f"Log file:\t{shared.LOG_PATH}")
print()
print_cute_message()
print()
def settings( def settings(
name: str = None, name: str = None,
value: str = None, value: str = None,

View File

@ -0,0 +1 @@
from .paths import print_paths

View File

@ -0,0 +1,17 @@
from ...utils.path_manager import LOCATIONS
from ...utils import shared
def all_paths():
return {
"Temp dir": LOCATIONS.TEMP_DIRECTORY,
"Music dir": LOCATIONS.MUSIC_DIRECTORY,
"Log file": shared.LOG_PATH,
"Conf dir": LOCATIONS.CONFIG_DIRECTORY,
"Conf file": LOCATIONS.CONFIG_FILE
}
def print_paths():
for name, path in all_paths().items():
print(f"{name}:\t{path}")