Private
Public Access
1
0

don't know

This commit is contained in:
Sander Roosendaal
2017-01-28 19:19:24 +01:00
parent 46d55062ea
commit 9ca2f4fc26

View File

@@ -3799,6 +3799,7 @@ def workout_upload_view(request,message=""):
os.remove(f_to_be_deleted)
# Some people try to upload Concept2 logbook summaries
if fileformat == 'c2log':
os.remove(f2)
message = "This C2 logbook summary does not contain stroke data. Please download the Export Stroke Data file from the workout details on the C2 logbook."
url = reverse(workout_upload_view,
@@ -3807,6 +3808,7 @@ def workout_upload_view(request,message=""):
return response
# Some people try to upload RowPro summary logs
if fileformat == 'rowprolog':
os.remove(f2)
message = "This RowPro logbook summary does not contain stroke data. Please use the Stroke Data CSV file for the individual workout in your log."
url = reverse(workout_upload_view,