Skip to content

Commit

Permalink
Merge pull request #1285 from meeseeksmachine/auto-backport-of-pr-122…
Browse files Browse the repository at this point in the history
…8-on-0.6.x

Backport PR #1228 on branch 0.6.x (Fix formgrader API)
  • Loading branch information
jhamrick committed Nov 7, 2019
2 parents 7fa7d95 + 7462b39 commit dfb4f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbgrader/server_extensions/formgrader/base.py
Expand Up @@ -35,7 +35,7 @@ def gradebook(self):
gb = self.settings['nbgrader_gradebook']
if gb is None:
self.log.debug("creating gradebook")
gb = Gradebook(self.db_url)
gb = Gradebook(self.db_url, self.coursedir.course_id)
self.settings['nbgrader_gradebook'] = gb
return gb

Expand Down

0 comments on commit dfb4f9f

Please sign in to comment.