Update kitchen_counter/scriptAudit/views.py

added script_json["screenplay_name"] = str(screenplay_name) in views
This commit is contained in:
paveenpaul 2024-11-16 10:41:34 +00:00
parent aafd5edaf0
commit 0375427040
1 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,7 @@ def run_audit_in_counter(msg):
script_json["script_file_path"] = script_path1
script_json["script_file"] = hash2
script_json["type"] = "script-json"
script_json["screenplay_name"] = str(screenplay_name)
audit_data["script-json"] = script_json
print("data_uploaded")
except Exception as exp:
@ -488,6 +489,7 @@ def run_audit_in_counter(msg):
script_json["script_file_path"] = script_path1
script_json["script_file"] = hash2
script_json["type"] = "script-json"
script_json["screenplay_name"] = str(screenplay_name)
audit_data["script-json"] = script_json
print("data_uploaded")
except Exception as exp: