Private
Public Access
1
0

better coverage, removed some warnings

This commit is contained in:
Sander Roosendaal
2021-04-14 18:01:01 +02:00
parent 39a196b949
commit eb32394d0b
5 changed files with 17 additions and 17 deletions

View File

@@ -2040,12 +2040,12 @@ def handle_otwsetpower(self,f1, boattype, boatclass, coastalbrand, weightvalue,
# do something with boat type
try:
rowdata = rdata(csvfile)
rowdata = rdata(csvfile=csvfile)
except IOError:
try:
rowdata = rdata(csvfile)
rowdata = rdata(csvfile=csvfile)
except IOError:
rowdata = rdata(csvfile)
rowdata = rdata(csvfile=csvfile)
# do calculation, but do not overwrite NK Empower Power data
powermeasured = False
@@ -2097,12 +2097,12 @@ def handle_otwsetpower(self,f1, boattype, boatclass, coastalbrand, weightvalue,
return 0
# do something with boat type
try:
rowdata = rdata(csvfile)
rowdata = rdata(csvfile=csvfile)
except IOError:
try:
rowdata = rdata(csvfile)
rowdata = rdata(csvfile=csvfile)
except IOError:
rowdata = rdata(csvfile)
rowdata = rdata(csvfile=csvfile)
update_strokedata(workoutid, rowdata.df, debug=debug)