sehaj13 commited on
Commit
a51d934
·
verified ·
1 Parent(s): 4636220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ with app_tab:
112
 
113
  # --- Send data to external API ---
114
  url = "https://skattendancesystem25.glitch.me/adds"
115
- data = {'rno': 15, 'sname': matched_name, 'sclass': 7}
116
  try:
117
  response = requests.post(url, data=data)
118
  if response.status_code == 200:
 
112
 
113
  # --- Send data to external API ---
114
  url = "https://skattendancesystem25.glitch.me/adds"
115
+ data = {'rno': 15, 'sname': pname, 'sclass': 7}
116
  try:
117
  response = requests.post(url, data=data)
118
  if response.status_code == 200: