bug fix
This commit is contained in:
@@ -6081,7 +6081,7 @@ def workout_course_view(request, id):
|
|||||||
]
|
]
|
||||||
|
|
||||||
courses = []
|
courses = []
|
||||||
courseselecform = CourseSelectForm()
|
courseselectform = CourseSelectForm()
|
||||||
has_latlon,lat_mean,lon_mean = dataprep.workout_has_latlon(row.id)
|
has_latlon,lat_mean,lon_mean = dataprep.workout_has_latlon(row.id)
|
||||||
if has_latlon:
|
if has_latlon:
|
||||||
courses = getnearestcourses([lat_mean,lon_mean],GeoCourse.objects.all(),whatisnear=25,
|
courses = getnearestcourses([lat_mean,lon_mean],GeoCourse.objects.all(),whatisnear=25,
|
||||||
|
|||||||
Reference in New Issue
Block a user