class Command(BaseCommand):
def handle(self, *ids, **options):
+ return # typo would be disastrous
new = 0
skipped = 0
for wlem_contact in query:
if not Submission.objects.filter(email=wlem_contact.contact).exists():
- first_name, last_name = wlem_contact.body['nazwisko'].split(' ')
+ first_name, last_name = wlem_contact.body['nazwisko'].split()
args = {
'email': wlem_contact.contact,
'first_name': first_name,