From 64d66ad838a96214c6ab940f463c101865c59423 Mon Sep 17 00:00:00 2001 From: stojanovskis1 Date: Tue, 23 Jul 2024 14:03:18 +0200 Subject: [PATCH] Print object name --- ckanext/bulkupload/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ckanext/bulkupload/views.py b/ckanext/bulkupload/views.py index 65d4130..0680b7d 100644 --- a/ckanext/bulkupload/views.py +++ b/ckanext/bulkupload/views.py @@ -188,12 +188,14 @@ def bulk_resource_upload(pkg_name): log.info(file_name) f.save(file_name) - object_name = url_striped + object_name = '/resources/' + x['id'] + '/' + url_striped log.info("=========================") log.info(object_name) try: response = s3_client.upload_file(file_name, bucket, object_name) + log.info("OBJECT NAME!!!!!") + log.info(object_name) log.info("BUCKET!!!!!!!") log.info(bucket) log.info("RESPONSE!!!!!!!!!!")