Private
Public Access
1
0

removing races from plan overview

This commit is contained in:
Sander Roosendaal
2018-12-30 15:52:11 +01:00
parent 53bfd170fc
commit 7866355385
2 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
from rowers.imports import *
import mytypes
from rowers.mytypes import otwtypes
from rowsandall_app.settings import (
UNDERARMOUR_CLIENT_KEY,
UNDERARMOUR_CLIENT_SECRET,
@@ -417,7 +420,7 @@ def add_workout_from_data(user,importid,data,strokedata,
times_location = times_distance
latcoord = np.zeros(len(times_distance))
loncoord = np.zeros(len(times_distance))
if workouttype in types.otwtypes:
if workouttype in otwtypes:
workouttype = 'rower'
try: