Reorganize folder paths in config.py

This commit is contained in:
skymike03
2025-08-29 12:35:48 +02:00
parent 42476b9675
commit 8e91b32d26
3 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ def is_extension_supported(filename, platform, extensions_data):
# Fonction pour charger sources.json
def load_sources():
"""Charge les sources depuis sources.json et initialise les plateformes."""
sources_path = os.path.join(config.APP_FOLDER, "sources.json")
sources_path = os.path.join(config.SOURCES_FILE)
logger.debug(f"Chargement de {sources_path}")
try:
with open(sources_path, 'r', encoding='utf-8') as f: