fix mail to master of course
This commit is contained in:
parent
cc8e07bc17
commit
1615963c15
1 changed files with 6 additions and 5 deletions
|
@ -878,6 +878,7 @@ def sendTaskReminder():
|
|||
course = Course.get_by_id(int(t.courseId))
|
||||
if t.isPersonal:
|
||||
for uId in course.membersId:
|
||||
if int(uId) != course.master_id:
|
||||
tc = TaskComponent.all().filter("taskId = ", t.key().id()).filter("userId = ", int(uId))
|
||||
if tc.count() == 0:
|
||||
user = User.get_by_id(int(uId))
|
||||
|
|
Loading…
Reference in a new issue