Private
Public Access
1
0

more quick fixes

This commit is contained in:
Sander Roosendaal
2020-02-19 17:16:09 +01:00
parent d6be059df1
commit f00d5f4270
2 changed files with 6 additions and 2 deletions

View File

@@ -508,7 +508,11 @@ def make_private(w,options):
return 1
def do_sync(w,options):
upload_to_strava = options['upload_to_Strava']
try:
upload_to_strava = options['upload_to_Strava']
except KeyError:
upload_to_strava = False
try:
if options['stravaid'] != 0 and options['stravaid'] != '':
w.uploadedtostrava = options['stravaid']