X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6509b5cd1935677b4fc24ebf2f40f8fc2221dac5..7ad1e269182ce7d30dc5aa96b9b0f2c9427dac95:/src/club/views.py?ds=sidebyside diff --git a/src/club/views.py b/src/club/views.py index ce76d6b76..dc1bef07b 100644 --- a/src/club/views.py +++ b/src/club/views.py @@ -193,6 +193,7 @@ def member_verify(request): emails = request.POST.get('emails').strip().split('\n') rows = ['email;członek;nazwa użytkownika;aktywny;co najmniej do'] for email in emails: + email = email.strip() row = [email] schedules = models.Schedule.objects.filter(email=email).exclude(payed_at=None) if schedules.exists():