Private
Public Access
1
0

bug fixes

This commit is contained in:
Sander Roosendaal
2019-03-03 15:16:37 +01:00
parent 2d9c04159e
commit cd39a25e4c
5 changed files with 8 additions and 8 deletions

View File

@@ -106,7 +106,7 @@ def make_new_workout_from_email(rower, datafile, name, cntr=0,testing=False):
# shutil.copyfileobj(f_in,f_out)
fcopy = "media/"+datafilename
if not testing:
if settings.DEBUG:
if settings.CELERY:
res = handle_sendemail_unrecognized.delay(
fcopy,
rower.user.email