浏览代码

fix(api): removed dead code

Nils Wisiol 8 年之前
父节点
当前提交
0bcb8dc4f0
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      api/desecapi/views.py

+ 0 - 1
api/desecapi/views.py

@@ -406,7 +406,6 @@ class DonationList(generics.CreateAPIView):
             if donation.email:
                 content_tmpl = get_template('emails/donation/donor-content.txt')
                 subject_tmpl = get_template('emails/donation/donor-subject.txt')
-                test = content_tmpl.render(context)
                 email = EmailMessage(subject_tmpl.render(context),
                                      content_tmpl.render(context),
                                      from_tmpl.render(context),