Private
Public Access
1
0

cannot pickle list of teams ->

This commit is contained in:
Sander Roosendaal
2017-02-14 13:11:43 +01:00
parent d63f7336c5
commit 991eebf862
3 changed files with 23 additions and 28 deletions

View File

@@ -416,19 +416,6 @@ def handle_sendemail_invite_accept(email,name,teamname,managername):
return 1
@app.task
def handle_remove_workouts_team(ws,t):
for w in ws:
w.team.remove(t)
return 1
@app.task
def handle_add_workouts_team(ws,t):
for w in ws:
w.team.add(t)
return 1
# Another simple task for debugging purposes
def add2(x,y):