added ufc
This commit is contained in:
parent
5e7e332bbc
commit
78b745b884
@ -911,6 +911,11 @@ def updateLeagueEvents(api_key, time, logf):
|
||||
ten_or_fifteen = slice(3)
|
||||
else:
|
||||
ten_or_fifteen = slice(None)
|
||||
|
||||
if league == 'UFC':
|
||||
event = all_data['UFC'][0]
|
||||
events.append(event)
|
||||
else:
|
||||
for d in all_data[league][ten_or_fifteen]:
|
||||
event = {}
|
||||
event['date'] = d['dateEvent']
|
||||
|
Loading…
Reference in New Issue
Block a user