NK LiNK Logbook icon
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
BIN
static/img/NKLiNKLogbook.png
Normal file
BIN
static/img/NKLiNKLogbook.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
Reference in New Issue
Block a user