removed unnecessary audit email going error
This commit is contained in:
parent
f37ffa1742
commit
68365671ad
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue