Update peer grading comment

This commit is contained in:
Vik Paruchuri
2013-05-07 17:35:00 -04:00
parent 530ac51c1c
commit 5cd9641f24

View File

@@ -93,7 +93,7 @@ class PeerGradingModule(PeerGradingFields, XModule):
if not self.ajax_url.endswith("/"):
self.ajax_url = self.ajax_url + "/"
#This could result in an exception, but not wrapping in a try catch block so it moves up the stack
#StringyInteger could return None, so keep this check.
if not isinstance(self.max_grade, int):
raise TypeError("max_grade needs to be an integer.")