Permalink
Browse files

Modified contestQuestion to pass 2 parameters

  • Loading branch information...
1 parent 6bf3066 commit a6bb32a4bb2995946a0de12c4beba9ff3101400d @swvist committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.py
View
@@ -37,7 +37,7 @@ def get(self):
class contestQuestion(webapp.RequestHandler):
def get(self,var):
self.response.headers['Content-Type'] = 'application/json'
- r = questiondb.getQuestion(int(userdb.userPermutation(int(var))))
+ r = questiondb.getQuestion(int(userdb.userPermutation(int(var))),int(var))
self.response.out.write(r)
class contestAnswer(webapp.RequestHandler):

0 comments on commit a6bb32a

Please sign in to comment.