Private
Public Access
1
0

added coxmate support

This commit is contained in:
Sander Roosendaal
2017-08-21 12:54:32 +02:00
parent 5db48401de
commit 07323ac545
2 changed files with 10 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ from django.utils.timezone import get_current_timezone
thetimezone = get_current_timezone()
from rowingdata import (
TCXParser,RowProParser,ErgDataParser,TCXParserNoHR,
CoxMateParser,
BoatCoachParser,RowPerfectParser,BoatCoachAdvancedParser,
MysteryParser,
painsledDesktopParser,speedcoachParser,ErgStickParser,
@@ -672,6 +673,11 @@ def handle_nonpainsled(f2,fileformat,summary=''):
if (fileformat == 'ergdata'):
row = ErgDataParser(f2)
# handle CoxMate
if (fileformat == 'coxmate'):
row = CoxMateParser(f2)
# handle Mike
if (fileformat == 'bcmike'):
row = BoatCoachAdvancedParser(f2)

View File

@@ -315,6 +315,10 @@ def handle_nonpainsled(f2,fileformat,summary=''):
if (fileformat == 'ergdata'):
row = ErgDataParser(f2)
# handle CoxMate
if (fileformat == 'coxmate'):
row = CoxMateParser(f2)
# handle Mike
if (fileformat == 'bcmike'):
row = BoatCoachAdvancedParser(f2)