Private
Public Access
1
0

bug fix sporttracks no gps

This commit is contained in:
Sander Roosendaal
2019-02-04 09:30:09 +01:00
parent 0edeb971d5
commit b439d9c6ac
8 changed files with 22 additions and 21 deletions

View File

@@ -9,6 +9,8 @@ from rowsandall_app.settings import (
SPORTTRACKS_REDIRECT_URI
)
import mytypes
oauth_data = {
'client_id': SPORTTRACKS_CLIENT_ID,
'client_secret': SPORTTRACKS_CLIENT_SECRET,
@@ -346,7 +348,7 @@ def add_workout_from_data(user,importid,data,strokedata,source='sporttracks',
times_location = times_distance
latcoord = np.zeros(len(times_distance))
loncoord = np.zeros(len(times_distance))
if workouttype in types.otwtypes:
if workouttype in mytypes.otwtypes:
workouttype = 'rower'
try: