Open rawmean opened 1 year ago
@rawmean How did you patch this in your code without streamlit-analytics having pushed it?
@rawmean How did you patch this in your code without streamlit-analytics having pushed it? Try this: ''' if "last_time" not in st.session_state: st.session_state[last_time] = datetime.datetime.now() _track_user() '''
I get the following error:
It comes from this line. The fix seems to be easy (avoid using the dot notation when the key doesn't exist)