фикс5
This commit is contained in:
@@ -218,8 +218,8 @@ def fetch_match_live_data(match_id: int) -> dict:
|
|||||||
if live:
|
if live:
|
||||||
return {"status": "live", "home_score": home, "away_score": away}
|
return {"status": "live", "home_score": home, "away_score": away}
|
||||||
# else:
|
# else:
|
||||||
# if home and away:
|
if home and away:
|
||||||
# return {"status": "finished", "home_score": home, "away_score": away}
|
return {"status": "finished", "home_score": home, "away_score": away}
|
||||||
|
|
||||||
return {"status": "scheduled", "home_score": home, "away_score": away}
|
return {"status": "scheduled", "home_score": home, "away_score": away}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user