Skip to content

Commit

Permalink
Fixed a typo identified by explodes on IRC
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lovell-Troy committed Jul 31, 2013
1 parent bf037b9 commit 0d1280a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classy_mail/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_html_template(self):
class ModelTemplateMixin(BaseTemplateMixin):
_template = None

def _get_template(self, template_name):
def _get_template(self):
if self._template is None:
self._template = EmailTemplate.objects.get(name=self.get_template_name())
return self._template
Expand Down

0 comments on commit 0d1280a

Please # to comment.