correct error in source path

This commit is contained in:
skymike03
2025-08-29 13:22:13 +02:00
parent 2ec803218d
commit 88bb3b5841

View File

@@ -135,7 +135,7 @@ def load_sources():
def load_games(platform_id):
"""Charge les jeux pour une plateforme donnée en utilisant platform_id et teste la première URL."""
games_path = os.path.join(config.APP_FOLDER, "games", f"{platform_id}.json")
games_path = os.path.join(config.GAMES_FOLDER, f"{platform_id}.json")
#logger.debug(f"Chargement des jeux pour {platform_id} depuis {games_path}")
try:
with open(games_path, 'r', encoding='utf-8') as f: