James McCool commited on
Commit
5242309
·
1 Parent(s): 4b7b477

adjusted some printouts

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -145,7 +145,7 @@ def grab_sr_ids(headers: dict) -> pd.DataFrame:
145
  999999, player['id'], player['first_name'], '-', player['last_name'], '-', player['position'], team_name
146
  ])
147
  except:
148
- st.write(f"Error processing team: {team_name} - {team_id}")
149
  continue
150
 
151
  return pd.DataFrame(row_data, columns=['FA_ID', 'SR_ID', 'First_Name', 'Prefer_First_Name', 'Last_Name', 'Name_Suffix', 'Position', 'Team'])
@@ -273,6 +273,8 @@ with tab3:
273
  worksheet.update([concat_df.columns.values.tolist()] + concat_df.values.tolist())
274
  st.write("Updated Freedman Season Long NFL SR IDs")
275
 
 
 
276
  with tab4:
277
  st.info("We will add this functionality as soon as we have the endpoints to make it work!")
278
 
 
145
  999999, player['id'], player['first_name'], '-', player['last_name'], '-', player['position'], team_name
146
  ])
147
  except:
148
+ st.info(f"Error processing team: {team_name} - {team_id}")
149
  continue
150
 
151
  return pd.DataFrame(row_data, columns=['FA_ID', 'SR_ID', 'First_Name', 'Prefer_First_Name', 'Last_Name', 'Name_Suffix', 'Position', 'Team'])
 
273
  worksheet.update([concat_df.columns.values.tolist()] + concat_df.values.tolist())
274
  st.write("Updated Freedman Season Long NFL SR IDs")
275
 
276
+ st.success("SR IDs updated successfully")
277
+
278
  with tab4:
279
  st.info("We will add this functionality as soon as we have the endpoints to make it work!")
280