Fix config not found error

This commit is contained in:
Nathan Thomas 2024-01-10 16:34:46 -08:00
parent cc1ff1c989
commit d4b45a7a99
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ from tomlkit.toml_document import TOMLDocument
logger = logging.getLogger("streamrip")
APP_DIR = click.get_app_dir("streamrip")
os.makedirs(APP_DIR, exist_ok=True)
DEFAULT_CONFIG_PATH = os.path.join(APP_DIR, "config.toml")
CURRENT_CONFIG_VERSION = "2.0"