diff --git a/mylib/report.py b/mylib/report.py index ccdc8ed..5c96646 100644 --- a/mylib/report.py +++ b/mylib/report.py @@ -132,7 +132,7 @@ class Report(ConfigurableObject): # pylint: disable=useless-object-inheritance " email_client" ) content = self.get_content() - if not content: + if not content and not self._attachment_files and not self._attachment_payloads: log.debug("Report is empty, do not send it") return True msg = email_client.forge_message(