check bucket name

This commit is contained in:
Kenneth Kehl
2024-09-26 10:46:26 -07:00
parent feff8ec1be
commit dda788b073

View File

@@ -33,6 +33,9 @@ def s3upload(service_id, filedata):
bucket_name, file_location, access_key, secret_key, region = get_csv_location(
service_id, upload_id
)
if bucket_name == "":
raise Exception("NO BUCKET NAME")
utils_s3upload(
filedata=filedata["data"],
region=region,