made change in conversion PP18 mail not go when lpp
This commit is contained in:
parent
1d0d42afdc
commit
d88157f306
|
@ -1269,12 +1269,13 @@ def start_conversion(request):
|
|||
|
||||
|
||||
"""Translation Completion mail here"""
|
||||
to = request.user.email
|
||||
key_value = {
|
||||
"User": request.user.username,
|
||||
"title": original_script.script_title
|
||||
}
|
||||
sendmail(to_email=[to], email_code="PP18", key_value=key_value)
|
||||
if not translated_script.lpp:
|
||||
to = request.user.email
|
||||
key_value = {
|
||||
"User": request.user.username,
|
||||
"title": original_script.script_title
|
||||
}
|
||||
sendmail(to_email=[to], email_code="PP18", key_value=key_value)
|
||||
|
||||
"""Translation Completion mail done"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue