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