We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d888917 commit ac5a6f1Copy full SHA for ac5a6f1
nbgrader/server_extensions/assignment_list/handlers.py
@@ -149,8 +149,8 @@ def list_submitted_assignments(self, course_id=None):
149
else:
150
for assignment in assignments:
151
for submission in assignment["submissions"]:
152
- if 'local_feedback_path' in submission.keys() and \
153
- os.path.exists(submission['local_feedback_path']):
+ if submission['local_feedback_path'] \
+ and os.path.exists(submission['local_feedback_path']):
154
submission['local_feedback_path'] = \
155
os.path.relpath(submission['local_feedback_path'],
156
self._root_dir)
0 commit comments