James McCool commited on
Commit
947d9cc
·
1 Parent(s): af96e17

Update timestamp display in Streamlit app to use data from dk_roo_raw instead of session state

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -153,7 +153,7 @@ if selected_tab == 'Stack Finder':
153
  player_stats, dk_stacks_raw, fd_stacks_raw, dk_roo_raw, fd_roo_raw = init_baselines()
154
  for key in st.session_state.keys():
155
  del st.session_state[key]
156
- st.info(f"Last Update: " + str(st.session_state['handbuilder_data']['timestamp'][0]) + f" CST")
157
  with slate_choice_column:
158
  slate_var1 = st.radio("What slate are you working with?", ('Main Slate', 'Secondary Slate', 'Thurs-Mon Slate', 'User Upload'), key='slate_var1')
159
  if slate_var1 == 'User Upload':
 
153
  player_stats, dk_stacks_raw, fd_stacks_raw, dk_roo_raw, fd_roo_raw = init_baselines()
154
  for key in st.session_state.keys():
155
  del st.session_state[key]
156
+ st.info(f"Last Update: " + str(dk_roo_raw['timestamp'][0]) + f" CST")
157
  with slate_choice_column:
158
  slate_var1 = st.radio("What slate are you working with?", ('Main Slate', 'Secondary Slate', 'Thurs-Mon Slate', 'User Upload'), key='slate_var1')
159
  if slate_var1 == 'User Upload':