app.py: change game score calculation
This commit is contained in:
2
app.py
2
app.py
@@ -180,7 +180,7 @@ def calculate_game_priority(game):
|
|||||||
home_score = game["homeTeam"]["score"]
|
home_score = game["homeTeam"]["score"]
|
||||||
away_score = game["awayTeam"]["score"]
|
away_score = game["awayTeam"]["score"]
|
||||||
score_difference = abs(home_score - away_score)
|
score_difference = abs(home_score - away_score)
|
||||||
score_total = (home_score + away_score) * 15
|
score_total = (home_score + away_score) * 20
|
||||||
|
|
||||||
if period == 4:
|
if period == 4:
|
||||||
base_priority = 400
|
base_priority = 400
|
||||||
|
|||||||
Reference in New Issue
Block a user