nesticot commited on
Commit
469b06e
·
verified ·
1 Parent(s): bd509c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -772,7 +772,7 @@ def server(input, output, session):
772
 
773
  }
774
 
775
- if sport_id != 17 or int(sport_id) != 1:
776
  fg_api = f'https://www.fangraphs.com/api/leaders/minor-league/data?pos=all&level={levelt[sport_id]}&lg={lg_dict[sport_id]}&stats=pit&qual=0&type=2&team=&season={year}&seasonEnd={year}&org=&ind=0&splitTeam=false'
777
  response = requests.get(fg_api)
778
  data = response.json()
 
772
 
773
  }
774
 
775
+ if sport_id != 17 and int(sport_id) != 1:
776
  fg_api = f'https://www.fangraphs.com/api/leaders/minor-league/data?pos=all&level={levelt[sport_id]}&lg={lg_dict[sport_id]}&stats=pit&qual=0&type=2&team=&season={year}&seasonEnd={year}&org=&ind=0&splitTeam=false'
777
  response = requests.get(fg_api)
778
  data = response.json()