Fixed issue #13
This commit is contained in:
@@ -224,11 +224,12 @@ def update(request, ls, season, cur_md):
|
||||
|
||||
|
||||
m = Match(matchID=unicode(match['matchID']),
|
||||
matchDateTime=match['matchDateTime'],
|
||||
pointsTeam1=pointsTeam1,
|
||||
pointsTeam2=pointsTeam2,
|
||||
finished=bool(match['matchIsFinished']),
|
||||
)
|
||||
m.save(update_fields=['pointsTeam1', 'pointsTeam2', 'finished'])
|
||||
m.save(update_fields=['matchDateTime', 'pointsTeam1', 'pointsTeam2', 'finished'])
|
||||
pointsTeam1=-1
|
||||
pointsTeam2=-1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user