Private
Public Access
1
0

now uses NK summary for NK files

This commit is contained in:
Sander Roosendaal
2018-05-01 10:04:53 +02:00
parent 0a18100b89
commit 39ff62e560
2 changed files with 3 additions and 2 deletions

View File

@@ -1308,7 +1308,7 @@ def new_workout_from_file(r, f2,
message = 'Something went wrong: ' + errorstring
return (0, message, '')
dosummary = (fileformat != 'fit')
dosummary = (fileformat != 'fit' and fileformat != 'speedcoach2')
id, message = save_workout_database(
f2, r,
workouttype=workouttype,

View File

@@ -623,7 +623,8 @@ def new_workout_from_file(r,f2,
dosummary = (fileformat != 'fit')
dosummary = (fileformat != 'fit' and fileformat != 'speedcoach2')
id,message = save_workout_database(f2,r,
workouttype=workouttype,
makeprivate=makeprivate,