Private
Public Access
1
0

removing mailprocessing file

This commit is contained in:
Sander Roosendaal
2021-12-17 10:32:53 +01:00
parent 27a560c5a7
commit e1931065f9
14 changed files with 85 additions and 816 deletions

View File

@@ -2429,7 +2429,7 @@ def get_map_script_course(
longend,
scoordinates,
course,
):
): # pragma: no cover
latmean,lonmean,coordinates = course_coord_center(course)
lat_min, lat_max, long_min, long_max = course_coord_maxmin(course)
@@ -2742,7 +2742,7 @@ def leaflet_chart(lat,lon,name="",raceresult=0):
longend,
scoordinates,
)
else:
else: # pragma: no cover
record = VirtualRaceResult.objects.get(id=raceresult)
course = record.course
script = get_map_script_course(
@@ -7010,7 +7010,7 @@ def get_zones_report(rower,startdate,enddate,trainingzones='hr',date_agg='week',
def interactive_zoneschart(rower,data,startdate,enddate,trainingzones='hr',date_agg='week',
yaxis='time'):
if startdate >= enddate:
if startdate >= enddate: # pragma: no cover
st = startdate
startdate = enddate
enddate = st