From 6bb488f9b80aae47558f06386a4df1ff9d43d1c5 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 3 May 2024 05:53:28 +0000 Subject: [PATCH] latest changes 03052024 --- .../scriptAudit/mnf_script_audit.py | 6 +- .../templates/audit/audited_copy.html | 63 +++ kitchen_counter/scriptAudit/urls.py | 2 + kitchen_counter/scriptAudit/views.py | 444 +++++++++++++++++- kitchen_counter/users/models.py | 2 +- 5 files changed, 507 insertions(+), 10 deletions(-) diff --git a/kitchen_counter/scriptAudit/mnf_script_audit.py b/kitchen_counter/scriptAudit/mnf_script_audit.py index e5ef9a7..71a1dfb 100755 --- a/kitchen_counter/scriptAudit/mnf_script_audit.py +++ b/kitchen_counter/scriptAudit/mnf_script_audit.py @@ -2712,9 +2712,9 @@ class NeutralAudit: return character_scripts_dict def audit_in_background(self): - - if os.fork() != 0: - return + # # commenting os.fork to make code run in foreground + # if os.fork() != 0: + # return print("Running in background") end_time = datetime.datetime.now() diff --git a/kitchen_counter/scriptAudit/templates/audit/audited_copy.html b/kitchen_counter/scriptAudit/templates/audit/audited_copy.html index a041856..2459cee 100755 --- a/kitchen_counter/scriptAudit/templates/audit/audited_copy.html +++ b/kitchen_counter/scriptAudit/templates/audit/audited_copy.html @@ -11,10 +11,70 @@ Document + +
+
+ + hats-off +
+