show past 2 tournaments (golf)
This commit is contained in:
parent
ded27de705
commit
86c0141a55
@ -1181,7 +1181,10 @@ def updateLeagueEvents(api_key, time, logf):
|
|||||||
ten_or_fifteen = slice(None)
|
ten_or_fifteen = slice(None)
|
||||||
events = []
|
events = []
|
||||||
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV') or (league == 'F1') or (league == 'NASCAR'):
|
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV') or (league == 'F1') or (league == 'NASCAR'):
|
||||||
ten_or_fifteen = slice(3)
|
if time == 'past':
|
||||||
|
ten_or_fifteen = slice(2)
|
||||||
|
else:
|
||||||
|
ten_or_fifteen = slice(3)
|
||||||
else:
|
else:
|
||||||
ten_or_fifteen = slice(None)
|
ten_or_fifteen = slice(None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user