correct error in source path
This commit is contained in:
@@ -135,7 +135,7 @@ def load_sources():
|
|||||||
|
|
||||||
def load_games(platform_id):
|
def load_games(platform_id):
|
||||||
"""Charge les jeux pour une plateforme donnée en utilisant platform_id et teste la première URL."""
|
"""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}")
|
#logger.debug(f"Chargement des jeux pour {platform_id} depuis {games_path}")
|
||||||
try:
|
try:
|
||||||
with open(games_path, 'r', encoding='utf-8') as f:
|
with open(games_path, 'r', encoding='utf-8') as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user