From a8c0fb666e9ca350d05cf8bd77b4eed70ed6b349 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 2 Jan 2021 21:18:23 +0100 Subject: [PATCH] sync stops if row is duplicate --- rowers/uploads.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rowers/uploads.py b/rowers/uploads.py index 0104a2fd..6dd978f2 100644 --- a/rowers/uploads.py +++ b/rowers/uploads.py @@ -524,6 +524,9 @@ def make_private(w,options): return 1 def do_sync(w,options, quick=False): + if row.duplicate: + return 0 + try: upload_to_strava = options['upload_to_Strava'] except KeyError: