show only 3 events for golf
This commit is contained in:
parent
b7f26039e5
commit
2ee242d0e7
@ -778,7 +778,7 @@ 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'):
|
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU'):
|
||||||
ten_or_fifteen = slice(5)
|
ten_or_fifteen = slice(3)
|
||||||
else:
|
else:
|
||||||
ten_or_fifteen = slice(None)
|
ten_or_fifteen = slice(None)
|
||||||
for d in all_data[league][ten_or_fifteen]:
|
for d in all_data[league][ten_or_fifteen]:
|
||||||
|
Loading…
Reference in New Issue
Block a user