Rahul8827 commited on
Commit
93beba7
·
1 Parent(s): bdea6bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,7 +23,8 @@ def Create_Organization(org_name, org_handle):
23
 
24
  # Create a bucket in S3
25
  s3 = boto3.client('s3')
26
- bucket = s3.create_bucket(Bucket='orgbotrite23')
 
27
 
28
  # Save the organization details to S3 bucket
29
  key = 'Organizations/' + org_handle + '/Organizationdetails.json'
 
23
 
24
  # Create a bucket in S3
25
  s3 = boto3.client('s3')
26
+ bucket_name = 'orgbotrite23'
27
+ bucket = s3.Bucket(bucket_name)
28
 
29
  # Save the organization details to S3 bucket
30
  key = 'Organizations/' + org_handle + '/Organizationdetails.json'