diff --git a/kitchen_counter/conversion/translation/external_conversion.py b/kitchen_counter/conversion/translation/external_conversion.py index 48372b6..953b622 100644 --- a/kitchen_counter/conversion/translation/external_conversion.py +++ b/kitchen_counter/conversion/translation/external_conversion.py @@ -484,13 +484,13 @@ class Conversion: """Translation Completion mail here""" - - to = self.user.email - key_value = { - "User": self.user.username, - "title": self.original_script_object.script_title - } - sendmail(to_email=[to], email_code="PP18", key_value=key_value) + if not self.translated_script_object.lpp: + to = self.user.email + key_value = { + "User": self.user.username, + "title": self.original_script_object.script_title + } + sendmail(to_email=[to], email_code="PP18", key_value=key_value) """Translation Completion mail done"""