Update stockTicker.py
This commit is contained in:
parent
f4687fa02c
commit
3b953dd0e9
@ -3220,7 +3220,7 @@ class StockTicker():
|
||||
width, height = league_logo.size
|
||||
league_logo2 = league_logo.resize((int(width/2), int(height/2)))
|
||||
|
||||
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV'):
|
||||
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV') or (league == 'NASCAR') or (league == 'F1'):
|
||||
x_offset += 10
|
||||
else:
|
||||
img.paste(league_logo2, (x_offset,0))
|
||||
@ -3245,7 +3245,7 @@ class StockTicker():
|
||||
dateEvent = match['date'].replace('-', '.')
|
||||
date_timage = self.textImage(dateEvent, small_font, r = 255, g = 255, b = 255)
|
||||
|
||||
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV'):
|
||||
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV') or (league == 'NASCAR') or (league == 'F1'):
|
||||
event = match['event']
|
||||
venue = match['venue']
|
||||
city = match['city']
|
||||
|
Loading…
Reference in New Issue
Block a user