don't show upcoming games when live

This commit is contained in:
Justin
2023-05-23 18:22:27 +08:00
committed by GitHub
parent 29a7e3c334
commit ee441dfd1c

View File

@@ -2663,7 +2663,7 @@ class StockTicker():
else:
for match in league_info:
if match['time'] != 'Scheduled':
dateEvent = match['time']
date_timage = self.textImage(dateEvent, small_font, r=255, g=255, b=255)
@@ -2731,7 +2731,6 @@ class StockTicker():
img.paste(home_logo, (x_offset,0))
x_offset += home_logo.size[0] + buff_size
img = img.crop((0,0,x_offset,32))
imgs.append(img)
except Exception as e: