move config path to match package name

This commit is contained in:
Jack Cushman 2025-02-26 18:53:06 -05:00
parent b245fd44eb
commit d1d4b359a2
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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."""