From c930fe833030d37e0fcd3714bd47e63631fa50c3 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Fri, 22 Apr 2016 00:37:43 -0500 Subject: [PATCH] Properly identify multi-OT NHL games --- i3pystatus/scores/nhl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/scores/nhl.py b/i3pystatus/scores/nhl.py index aa3406c..013bab4 100644 --- a/i3pystatus/scores/nhl.py +++ b/i3pystatus/scores/nhl.py @@ -271,7 +271,7 @@ class NHL(ScoresBackend): elif ret['status'] == 'final': _update('overtime', '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': ret['status'] = 'pregame'