mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
check bucket name
This commit is contained in:
@@ -34,7 +34,7 @@ def s3upload(service_id, filedata):
|
|||||||
service_id, upload_id
|
service_id, upload_id
|
||||||
)
|
)
|
||||||
if bucket_name == "":
|
if bucket_name == "":
|
||||||
raise Exception("NO BUCKET NAME")
|
raise Exception(f"NO BUCKET NAME {current_app.config['CSV_UPLOAD_BUCKET']['bucket']}")
|
||||||
|
|
||||||
utils_s3upload(
|
utils_s3upload(
|
||||||
filedata=filedata["data"],
|
filedata=filedata["data"],
|
||||||
|
|||||||
Reference in New Issue
Block a user