Continue if group does not match
This commit is contained in:
parent
3e9d0b119b
commit
a6f82af9a1
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue