From 9df812645553d398bdfbf268781f29f63f359113 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Wed, 27 Jan 2021 21:53:56 +0100 Subject: [PATCH] Fix forgotten dict element in football --- functions/football.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/football.py b/functions/football.py index e7f2456..de1fa78 100644 --- a/functions/football.py +++ b/functions/football.py @@ -55,7 +55,7 @@ class Match: if status.lower() == "live": # Half time if Navigation.LiveMatchPhase.value in self.matchDict and \ - Navigation.LiveMatchPhase.value == Navigation.HalfTime.value: + self.matchDict[Navigation.LiveMatchPhase.value] == Navigation.HalfTime.value: return Status.HalfTime.value # Current time