X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/9ff76cf1dc687baafbe04acc4aa8f545decb64c4..f2dd9c713605ba2a17425267eb2c0c4b4f7dc928:/wtem/management/commands/wlem_generate_keys.py?ds=inline diff --git a/wtem/management/commands/wlem_generate_keys.py b/wtem/management/commands/wlem_generate_keys.py index 3fbf107..1e7f558 100644 --- a/wtem/management/commands/wlem_generate_keys.py +++ b/wtem/management/commands/wlem_generate_keys.py @@ -17,7 +17,7 @@ class Command(BaseCommand): 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,