From 67405481710cf97c3c813579297b9a7444911f69 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 30 Apr 2024 07:38:25 +0000 Subject: [PATCH] audit integtation 2 --- .../conversion/management/commands/custom_runserver.py | 2 +- kitchen_counter/media/audit_counter_files/file.log | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 kitchen_counter/media/audit_counter_files/file.log diff --git a/kitchen_counter/conversion/management/commands/custom_runserver.py b/kitchen_counter/conversion/management/commands/custom_runserver.py index c0b6dc7..6b97a40 100755 --- a/kitchen_counter/conversion/management/commands/custom_runserver.py +++ b/kitchen_counter/conversion/management/commands/custom_runserver.py @@ -72,7 +72,7 @@ def run_audit(msg): object_key = "INPUT/" + str(script_file_name) - local_file_path = "/home/ubuntu/Conversion_Kitchen_Code/kitchen_counter/media/audit_counter_files" + script_file_name + local_file_path = "/home/ubuntu/Conversion_Kitchen_Code/kitchen_counter/media/audit_counter_files/" + script_file_name s3_client = boto3.client('s3', aws_access_key_id="AKIAQVLBBGCB45RMLKVW", aws_secret_access_key="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", diff --git a/kitchen_counter/media/audit_counter_files/file.log b/kitchen_counter/media/audit_counter_files/file.log new file mode 100644 index 0000000..e69de29