Private
Public Access
1
0

improved email flow

This commit is contained in:
Sander Roosendaal
2017-04-15 12:33:29 +02:00
parent 56bf308c55
commit c496b851c2

View File

@@ -69,8 +69,15 @@ class Command(BaseCommand):
]
res += wid
link = 'http://rowsandall.com/rowers/workout/'+str(wid[0])+'/edit'
dd = send_confirm(rr.user,title,link)
time.sleep(10)
try:
dd = send_confirm(rr.user,title,link)
time.sleep(10)
except:
try:
time.sleep(10)
dd = send_confirm(rr.user,title,link)
except:
pass
else:
# move attachment and make workout