Merge branch 'master' of github.com:sagidayan/SE-Hub
This commit is contained in:
commit
1148b227c5
1 changed files with 1 additions and 1 deletions
|
@ -814,7 +814,7 @@ def getTaskById(token, taskId, ownerId):
|
||||||
|
|
||||||
# grade = TaskGrade(grade=0, taskId=task.key().id(), userId=user.key().id())
|
# grade = TaskGrade(grade=0, taskId=task.key().id(), userId=user.key().id())
|
||||||
# db.put(grade)
|
# db.put(grade)
|
||||||
grade = TaskGrade.all().filter("taskId = ", taskId).filter("userId = ", ownerId)
|
grade = TaskGrade.all().filter("taskId = ", int(taskId)).filter("userId = ", int(ownerId))
|
||||||
gradeFound = False
|
gradeFound = False
|
||||||
for g in grade.run():
|
for g in grade.run():
|
||||||
task['grade'] = g
|
task['grade'] = g
|
||||||
|
|
Loading…
Reference in a new issue