Properly identify multi-OT NHL games
This commit is contained in:
parent
157f0f57c8
commit
c930fe8330
@ -271,7 +271,7 @@ class NHL(ScoresBackend):
|
|||||||
elif ret['status'] == 'final':
|
elif ret['status'] == 'final':
|
||||||
_update('overtime',
|
_update('overtime',
|
||||||
'linescore:currentPeriodOrdinal',
|
'linescore:currentPeriodOrdinal',
|
||||||
lambda x: x if x in ('OT', 'SO') else '')
|
lambda x: x if 'OT' in x or x == 'SO' else '')
|
||||||
elif ret['status'] != 'in_progress':
|
elif ret['status'] != 'in_progress':
|
||||||
ret['status'] = 'pregame'
|
ret['status'] = 'pregame'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user