removes SB1 and SB2 from conversion

This commit is contained in:
Ubuntu 2024-09-06 06:48:50 +00:00
parent be7d3283ed
commit 3751e93ad8
1 changed files with 5 additions and 5 deletions

View File

@ -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 "