From d1d4b359a2166e32291493589c1f10485b94ac79 Mon Sep 17 00:00:00 2001 From: Jack Cushman Date: Wed, 26 Feb 2025 18:53:06 -0500 Subject: [PATCH] move config path to match package name --- scripts/github/download_git.py | 2 -- scripts/helpers/misc.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/github/download_git.py b/scripts/github/download_git.py index f1623b0..d59157f 100644 --- a/scripts/github/download_git.py +++ b/scripts/github/download_git.py @@ -20,8 +20,6 @@ from scripts.helpers.bag import fetch_and_upload logger = logging.getLogger(__name__) stats_counter = {} -CONFIG_PATH = (os.environ.get("XDG_CONFIG_HOME") or (Path.home() / ".config")) / "data-mirror" / "config.json" - def check_repo_exists(org_name, repo_name, token, output_path=None): """Check if a repository still exists on GitHub.""" exists = True diff --git a/scripts/helpers/misc.py b/scripts/helpers/misc.py index 00340ee..04c2ef8 100644 --- a/scripts/helpers/misc.py +++ b/scripts/helpers/misc.py @@ -2,7 +2,7 @@ import json import os from pathlib import Path -CONFIG_PATH = (os.environ.get("XDG_CONFIG_HOME") or (Path.home() / ".config")) / "data-mirror" / "config.json" +CONFIG_PATH = (os.environ.get("XDG_CONFIG_HOME") or (Path.home() / ".config")) / "data-vault" / "config.json" def load_config(): """Load configuration from config file."""