dwipper commited on
Commit
907f33c
·
1 Parent(s): 67b54e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -326,11 +326,11 @@ def log_login(username):
326
  }
327
  try:
328
 
329
- # Post data to Airtable
330
- response = requests.post(airtable_endpoint, headers=headers, json=data)
331
 
332
- # Check for errors
333
- response.raise_for_status()
334
 
335
  except requests.exceptions.HTTPError as http_error:
336
  # Handle the HTTP error (e.g., log it or display an error message)
 
326
  }
327
  try:
328
 
329
+ # Post data to Airtable
330
+ response = requests.post(airtable_endpoint, headers=headers, json=data)
331
 
332
+ # Check for errors
333
+ response.raise_for_status()
334
 
335
  except requests.exceptions.HTTPError as http_error:
336
  # Handle the HTTP error (e.g., log it or display an error message)