Private
Public Access
1
0

Merge branch 'develop' into feature/fitnesschart

This commit is contained in:
Sander Roosendaal
2021-01-02 21:26:33 +01:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1495,7 +1495,6 @@ def checkduplicates(r,workoutdate,workoutstartdatetime,workoutenddatetime):
if (len(ws2) != 0):
print('len ws2 ',len(ws2))
message = "Warning: This workout overlaps with an existing one and was marked as a duplicate"
duplicate = True
return duplicate

View File

@@ -524,6 +524,9 @@ def make_private(w,options):
return 1
def do_sync(w,options, quick=False):
if w.duplicate:
return 0
try:
upload_to_strava = options['upload_to_Strava']
except KeyError: