Continue if group does not match

This commit is contained in:
Tim Schubert 2018-09-21 15:44:39 +02:00
parent 3e9d0b119b
commit a6f82af9a1

View file

@ -12,6 +12,8 @@ with open(argv[2], 'r', encoding="latin-1") as csv:
tokens = line.split(';')
student = tokens[5].replace('"', "").split(" ")[0]
group = tokens[0].replace('"', "").split(" ")[0]
if group != argv[3]:
continue
url = course_url + "/solutions/" + student + "/solutions"
path = "solutions/" + group + "/" + student
if isdir(path):