Files
fahricansecer 2f0b85a0c7
Deploy Iddaai Backend / build-and-deploy (push) Failing after 18s
first (part 2: other directories)
2026-04-16 15:11:25 +03:00

19 lines
583 B
Python
Executable File

import json
path = "ai-engine/data/mappings.json"
try:
with open(path, 'r') as f:
data = json.load(f)
leagues = data.get('leagues', {})
print(f"Total Leagues in Mapping: {len(leagues)}")
print("Sample Leagues:", list(leagues.keys())[:5])
target_id = "e21cf135btr8t3upw0vl6n6x0"
if target_id in leagues:
print(f"✅ Found target league {target_id}: {leagues[target_id]}")
else:
print(f"❌ Target league {target_id} NOT FOUND!")
except Exception as e:
print(f"Error: {e}")