changed to isLive variable

This commit is contained in:
Justin 2023-05-26 12:37:56 +08:00 committed by GitHub
parent baa2138e52
commit 533f869ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2663,7 +2663,7 @@ class StockTicker():
else:
for match in league_info:
if match['time'] != 'Scheduled':
if match['isLive'] != 'pre':
dateEvent = match['time']
date_timage = self.textImage(dateEvent, small_font, r=255, g=255, b=255)
@ -3798,7 +3798,7 @@ class StockTicker():
else:
for match in league_info:
if match['time'] != 'Scheduled':
if match['isLive'] != 'pre':
dateEvent = match['time']
date_timage = self.textImage(dateEvent, small_font, r = 255, g = 255, b = 255)