fixed premier league
This commit is contained in:
parent
f7d6982012
commit
e85d0113a1
@ -380,7 +380,7 @@ def updateLeagueTables(api_key):
|
|||||||
|
|
||||||
for league in leagues:
|
for league in leagues:
|
||||||
if league == 'PREMIERLEAGUE':
|
if league == 'PREMIERLEAGUE':
|
||||||
url += 'premierleague,'
|
url += 'PREMIERLEAGUE,'
|
||||||
else:
|
else:
|
||||||
url += league + ','
|
url += league + ','
|
||||||
|
|
||||||
@ -451,7 +451,7 @@ def updateLeagueEvents(api_key, time):
|
|||||||
for league in leagues:
|
for league in leagues:
|
||||||
|
|
||||||
if league == 'PREMIERLEAGUE':
|
if league == 'PREMIERLEAGUE':
|
||||||
url += 'premierleague,'
|
url += 'PREMIERLEAGUE,'
|
||||||
else:
|
else:
|
||||||
url += league + ','
|
url += league + ','
|
||||||
url = url[:-1] # remove last comma
|
url = url[:-1] # remove last comma
|
||||||
|
Loading…
Reference in New Issue
Block a user