Skip to content

Commit 08a4a45

Browse files
authored
Merge pull request #115 from dtxe/main
autograder q8 hotfix
2 parents 85eb7eb + 5077c89 commit 08a4a45

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

03_instructional_team/autograder/autograder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,14 @@
162162
'assignment.sh' in script_rslt[i]['output'] for i in indx
163163
]) and not (any(['dir4' in script_rslt[i]['output'] for i in indx])
164164
or any(['dir5' in script_rslt[i]['output'] for i in indx])):
165+
s.append({'question': 8, 'status': 1})
166+
else:
165167
s.append({
166168
'question': 8,
167169
'status': 0,
168170
'comment': '`ls` command run on the wrong directory'
169171
})
170-
else:
171-
s.append({'question': 8, 'status': 1})
172+
172173
else:
173174
s.append({'question': 8, 'status': 0, 'comment': '`ls` command not run'})
174175

0 commit comments

Comments
 (0)