removed unnecessary audit email going error

This commit is contained in:
Ubuntu 2024-08-21 11:21:21 +00:00
parent f37ffa1742
commit 68365671ad
1 changed files with 3 additions and 3 deletions

View File

@ -181,9 +181,9 @@ class Conversion:
script_data = MNFScriptDatabase.objects.get(script_id=self.original_script_object.script_id) script_data = MNFScriptDatabase.objects.get(script_id=self.original_script_object.script_id)
script_data.audit_id = str(audit_id) script_data.audit_id = str(audit_id)
script_data.save() script_data.save()
to_email = [self.user.email] # to_email = [self.user.email]
email_code = 'SB1' # email_code = 'SB1'
sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script}) # sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
try: try:
df = pd.read_csv(file_path_, encoding="utf-8") df = pd.read_csv(file_path_, encoding="utf-8")
except UnicodeError: except UnicodeError: