removes SB1 and SB2 from conversion
This commit is contained in:
parent
be7d3283ed
commit
3751e93ad8
|
@ -152,14 +152,14 @@ class Conversion:
|
|||
status.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})
|
||||
#sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
|
||||
except Exception as e:
|
||||
print("Error of Audit is:", e)
|
||||
status.status = "FAILURE"
|
||||
status.save()
|
||||
to_email = [self.user.email]
|
||||
email_code = 'SB2'
|
||||
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})
|
||||
print(
|
||||
"Script Audit failed due to some internal error."
|
||||
" If you have made any payment for conversion "
|
||||
|
@ -246,13 +246,13 @@ class Conversion:
|
|||
status.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})
|
||||
#sendmail(to_email=to_email, email_code=email_code,key_value={"script_name":self.name_script})
|
||||
except:
|
||||
status.status = "FAILURE"
|
||||
status.save()
|
||||
to_email = [self.user.email]
|
||||
email_code = 'SB2'
|
||||
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})
|
||||
print(
|
||||
"Script Audit failed due to some internal error."
|
||||
" If you have made any payment for conversion "
|
||||
|
|
Loading…
Reference in New Issue