Skip to content

Commit

Permalink
Fix reference to html_path
Browse files Browse the repository at this point in the history
Only shows up if there is no HTML template
  • Loading branch information
ebrelsford committed Jul 3, 2014
1 parent 1abb196 commit eb7290a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templated_emails/utils.py
Expand Up @@ -109,7 +109,7 @@ def run(self):
body = pynliner.fromString(body)
msg.attach_alternative(body, "text/html")
except TemplateDoesNotExist:
logging.info("Email sent without HTML, since %s not found" % html_path)
logging.info("Email sent without HTML, since %s not found" % self.html_path)

msg.send(fail_silently=self.fail_silently)

Expand Down

0 comments on commit eb7290a

Please sign in to comment.