mirror of https://github.com/itsmrval/somycal
fix(app.js) clean
parent
132758e470
commit
9556e5a0f1
12
app.py
12
app.py
|
|
@ -122,18 +122,6 @@ def assignTeam(idUser, idTeam,idSport):
|
||||||
team.idUser = idUser
|
team.idUser = idUser
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
|
|
||||||
def getWNBATeamMatches(idTeam):
|
|
||||||
result = []
|
|
||||||
matches_info = getWNBASchedules()
|
|
||||||
for i in matches_info:
|
|
||||||
if (i['WNBA_hometeamName'] == getTeamName(idTeam) or i['WNBA_awayteamName'] == getTeamName(idTeam)):
|
|
||||||
result.append(i)
|
|
||||||
return result
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def getTeamLogo(idTeam, idSport):
|
def getTeamLogo(idTeam, idSport):
|
||||||
match idSport:
|
match idSport:
|
||||||
case 1:
|
case 1:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue