Private
Public Access
1
0

NK LiNK Logbook icon

This commit is contained in:
Sander Roosendaal
2021-04-27 17:18:04 +02:00
parent 6f55a975c1
commit b2a8e15dcb
5 changed files with 8 additions and 6 deletions

View File

@@ -612,7 +612,7 @@ def createc2workoutdata(w):
itime, idist, itype = row.intervalstats_values()
try:
lapnames = row.df[' lapIdx'].unique()
except KeyError:
except KeyError: # pragma: no cover
lapnames = range(len(itime))
nrintervals = len(itime)
if len(lapnames) != nrintervals:

View File

@@ -129,7 +129,7 @@ def createrunkeeperworkoutdata(w):
try:
averagehr = int(row.df[' HRCur (bpm)'].mean())
maxhr = int(row.df[' HRCur (bpm)'].max())
except KeyError:
except KeyError: # pragma: no cover
averagehr = 0
maxhr = 0

View File

@@ -74,7 +74,7 @@
choice or to renew the authorization.</p>
<p><a href="/rowers/me/stravaauthorize/"><img src="/static/img/ConnectWithStrava.png" alt="connect with strava" width="120"></a></p>
<p><a href="/rowers/me/c2authorize/"><img src="/static/img/blueC2logo.png" alt="connect with Concept2" width="120"></a></p>
<p><a href="/rowers/me/nkauthorize/"><img src="/static/img/NKLiNK.jpg" alt="connect with NK Logbook" width="120"></a></p>
<p><a href="/rowers/me/nkauthorize/"><img src="/static/img/NKLiNKLogbook.png" alt="connect with NK Logbook" width="120"></a></p>
<p><a href="/rowers/me/sporttracksauthorize/"><img src="/static/img/sporttracks-button.png" alt="connect with SportTracks" width="120"></a></p>
<p><a href="/rowers/me/runkeeperauthorize/"><img src="/static/img/rk-logo.png" alt="connect with RunKeeper" width="120"></a></p>
<p><a href="/rowers/me/underarmourauthorize/"><img src="/static/img/UAbtn.png" alt="connect with Under Armour" width="120"></a></p>

View File

@@ -15,10 +15,12 @@ except NameError:
import pytest
from pandas.core.common import SettingWithCopyWarning
import warnings
#warnings.filterwarnings("error",
# category=DeprecationWarning
# )
warnings.filterwarnings("error",
category=SettingWithCopyWarning
)
pytestmark = pytest.mark.django_db

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB