debugging
This commit is contained in:
@@ -1189,14 +1189,12 @@ parsers = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def parsenonpainsled(fileformat,f2,summary):
|
def parsenonpainsled(fileformat,f2,summary):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
row = parsers[fileformat](f2)
|
row = parsers[fileformat](f2)
|
||||||
hasrecognized = True
|
hasrecognized = True
|
||||||
except KeyError:
|
except KeyError:
|
||||||
hasrecognized = False
|
hasrecognized = False
|
||||||
|
|
||||||
|
|
||||||
# handle speed coach GPS 2
|
# handle speed coach GPS 2
|
||||||
if (fileformat == 'speedcoach2'):
|
if (fileformat == 'speedcoach2'):
|
||||||
oarlength, inboard = get_empower_rigging(f2)
|
oarlength, inboard = get_empower_rigging(f2)
|
||||||
@@ -1207,6 +1205,8 @@ def parsenonpainsled(fileformat,f2,summary):
|
|||||||
fileformat = 'speedcoach2v0'
|
fileformat = 'speedcoach2v0'
|
||||||
summary = row.allstats()
|
summary = row.allstats()
|
||||||
|
|
||||||
|
print(summary)
|
||||||
|
print('aap',hasrecognized)
|
||||||
|
|
||||||
# handle FIT
|
# handle FIT
|
||||||
if (fileformat == 'fit'):
|
if (fileformat == 'fit'):
|
||||||
|
|||||||
Reference in New Issue
Block a user