SSO bug fixed
This commit is contained in:
@@ -76,8 +76,11 @@ if user_mail in user_list:
|
||||
myobj = { "client-bucket-name": client }
|
||||
response = requests.post(create_batch_url, json = myobj)
|
||||
if response.status_code >= 200 and response.status_code < 300:
|
||||
batch_id = json.loads(json.loads(response.text)['body'])['batch_id']
|
||||
landing_zone = json.loads(json.loads(response.text)['body'])['landing_zone']
|
||||
try:
|
||||
batch_id = json.loads(json.loads(response.text)['body'])['batch_id']
|
||||
landing_zone = json.loads(json.loads(response.text)['body'])['landing_zone']
|
||||
except:
|
||||
st.write(response.text)
|
||||
else:
|
||||
st.write("Failed")
|
||||
for uploaded_file in file_list:
|
||||
|
||||
Reference in New Issue
Block a user