added date2 to getleagueprofessional

This commit is contained in:
Justin 2023-04-27 17:49:38 +08:00 committed by GitHub
parent 702c218405
commit 1f47d8a6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3610,6 +3610,9 @@ class StockTicker():
for match in league_info: for match in league_info:
try:
dateEvent = match['date2']
except:
dateEvent = match['date'].replace('-', '.') dateEvent = match['date'].replace('-', '.')
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)