Private
Public Access
1
0

Merge branch 'release/v9.70'

This commit is contained in:
Sander Roosendaal
2019-04-06 18:33:39 +02:00

View File

@@ -110,7 +110,7 @@ def make_new_workout_from_email(rower, datafile, name, cntr=0,testing=False):
f,e = os.path.splitext(datafilename)
if fileformat == 'unknown' and e is not 'txt':
if fileformat == 'unknown' and 'txt' not in e:
fcopy = "media/"+datafilename
if not testing:
if settings.CELERY: