Commit 6b11b854 by Őry Máté

school: fix syntax error

parent c930c36b
...@@ -51,7 +51,7 @@ def login(request): ...@@ -51,7 +51,7 @@ def login(request):
attended = request.META['HTTP_NIIFEDUPERSONATTENDEDCOURSE'] attended = request.META['HTTP_NIIFEDUPERSONATTENDEDCOURSE']
if attended == '': if attended == '':
attended = [] attended = []
else else:
attended = attended.split(';') attended = attended.split(';')
for c in attended: for c in attended:
co = Course.objects.get_or_create(code=c) co = Course.objects.get_or_create(code=c)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment