don't show upcoming games when live
This commit is contained in:
@@ -2663,7 +2663,7 @@ class StockTicker():
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
for match in league_info:
|
for match in league_info:
|
||||||
|
if match['time'] != 'Scheduled':
|
||||||
dateEvent = match['time']
|
dateEvent = match['time']
|
||||||
date_timage = self.textImage(dateEvent, small_font, r=255, g=255, b=255)
|
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))
|
img.paste(home_logo, (x_offset,0))
|
||||||
x_offset += home_logo.size[0] + buff_size
|
x_offset += home_logo.size[0] + buff_size
|
||||||
|
|
||||||
img = img.crop((0,0,x_offset,32))
|
img = img.crop((0,0,x_offset,32))
|
||||||
imgs.append(img)
|
imgs.append(img)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Reference in New Issue
Block a user