linux: add start script and fixes; diagnostic outputs

This commit is contained in:
2025-10-19 21:50:09 +02:00
parent d2a9a4197c
commit 6d751861c8
11 changed files with 668 additions and 485 deletions

View File

@@ -201,8 +201,13 @@ def test_api_direct():
try:
import requests
# Charger la requête
with open('request_r290.json', 'r') as f:
# Charger la requête (fichier à côté de ce script)
request_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'request_r290.json')
if not os.path.exists(request_path):
# Fallback: essayer dans le répertoire courant
request_path = 'request_r290.json'
with open(request_path, 'r') as f:
request_data = json.load(f)
# Appeler l'API