diff --git a/stockTicker.py b/stockTicker.py index c8b24d8..1aa6f1a 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -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']