Fix self.get call in peer grading service

This commit is contained in:
Vik Paruchuri
2013-01-11 11:39:32 -05:00
parent 1dca370a7f
commit 52164f58ff
2 changed files with 2 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ class GradingService(object):
"""
Make a get request to the grading controller
"""
log.debug(params)
op = lambda: self.session.get(url,
allow_redirects=allow_redirects,
params=params)

View File

@@ -81,7 +81,7 @@ class PeerGradingService(GradingService):
self.get_problem_list_url = self.url + '/get_problem_list/'
def get_next_submission(self, problem_location, grader_id):
response = self.get(self.get_next_submission_url, False,
response = self.get(self.get_next_submission_url,
{'location': problem_location, 'grader_id': grader_id})
return response