From 68365671ad7a455068f1a05d21bbb8184b5cfbe2 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 21 Aug 2024 11:21:21 +0000 Subject: [PATCH] removed unnecessary audit email going error --- .../conversion/translation/external_conversion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kitchen_counter/conversion/translation/external_conversion.py b/kitchen_counter/conversion/translation/external_conversion.py index 953b622..97b3a60 100644 --- a/kitchen_counter/conversion/translation/external_conversion.py +++ b/kitchen_counter/conversion/translation/external_conversion.py @@ -181,9 +181,9 @@ class Conversion: script_data = MNFScriptDatabase.objects.get(script_id=self.original_script_object.script_id) script_data.audit_id = str(audit_id) script_data.save() - to_email = [self.user.email] - email_code = 'SB1' - sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script}) + # to_email = [self.user.email] + # email_code = 'SB1' + # sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script}) try: df = pd.read_csv(file_path_, encoding="utf-8") except UnicodeError: