better coverage, removed some warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user