Private
Public Access
1
0

debugging

This commit is contained in:
Sander Roosendaal
2019-05-08 15:52:34 +02:00
parent 01f108e9c3
commit 2baa9b6ba9

View File

@@ -1189,14 +1189,12 @@ parsers = {
}
def parsenonpainsled(fileformat,f2,summary):
try:
row = parsers[fileformat](f2)
hasrecognized = True
except KeyError:
hasrecognized = False
# handle speed coach GPS 2
if (fileformat == 'speedcoach2'):
oarlength, inboard = get_empower_rigging(f2)
@@ -1207,6 +1205,8 @@ def parsenonpainsled(fileformat,f2,summary):
fileformat = 'speedcoach2v0'
summary = row.allstats()
print(summary)
print('aap',hasrecognized)
# handle FIT
if (fileformat == 'fit'):