mbosse99 commited on
Commit
8e2d895
·
verified ·
1 Parent(s): abd17e2
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -55,6 +55,7 @@ if not st.session_state["appointment_response"]:
55
  print("nach button appointment")
56
  if subject_input:
57
  start_date_str = datetime.strptime(str(selected_date)+" "+str(selected_time),"%Y-%m-%d %H:%M:%S").strftime("%Y-%m-%dT%H:%M:%S.%fZ")
 
58
  end_date = datetime.strptime(str(selected_date)+" "+str(selected_time),"%Y-%m-%d %H:%M:%S") + timedelta(minutes=selected_duration)
59
  end_date_str = end_date.strftime("%Y-%m-%dT%H:%M:%S.%fZ")
60
  with st.spinner("Creating the appointment..."):
@@ -77,7 +78,7 @@ if not st.session_state["appointment_response"]:
77
  "name": st.session_state["candidate_mail"]
78
  }
79
  })
80
- appointment_response = create_meeting(request_params)
81
  # st.write(appointment_response)
82
  if appointment_response:
83
 
 
55
  print("nach button appointment")
56
  if subject_input:
57
  start_date_str = datetime.strptime(str(selected_date)+" "+str(selected_time),"%Y-%m-%d %H:%M:%S").strftime("%Y-%m-%dT%H:%M:%S.%fZ")
58
+ print(start_date_str)
59
  end_date = datetime.strptime(str(selected_date)+" "+str(selected_time),"%Y-%m-%d %H:%M:%S") + timedelta(minutes=selected_duration)
60
  end_date_str = end_date.strftime("%Y-%m-%dT%H:%M:%S.%fZ")
61
  with st.spinner("Creating the appointment..."):
 
78
  "name": st.session_state["candidate_mail"]
79
  }
80
  })
81
+ # appointment_response = create_meeting(request_params)
82
  # st.write(appointment_response)
83
  if appointment_response:
84