Przeglądaj źródła

fix(api): removed dead code

Nils Wisiol 8 lat temu
rodzic
commit
0bcb8dc4f0
1 zmienionych plików z 0 dodań i 1 usunięć
  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),