made change in conversion PP18 mail not go when lpp

This commit is contained in:
Ubuntu 2024-07-26 08:57:43 +00:00
parent 1d0d42afdc
commit d88157f306
1 changed files with 7 additions and 6 deletions

View File

@ -1269,12 +1269,13 @@ def start_conversion(request):
"""Translation Completion mail here""" """Translation Completion mail here"""
to = request.user.email if not translated_script.lpp:
key_value = { to = request.user.email
"User": request.user.username, key_value = {
"title": original_script.script_title "User": request.user.username,
} "title": original_script.script_title
sendmail(to_email=[to], email_code="PP18", key_value=key_value) }
sendmail(to_email=[to], email_code="PP18", key_value=key_value)
"""Translation Completion mail done""" """Translation Completion mail done"""