added coxmate support
This commit is contained in:
@@ -19,6 +19,7 @@ from django.utils.timezone import get_current_timezone
|
|||||||
thetimezone = get_current_timezone()
|
thetimezone = get_current_timezone()
|
||||||
from rowingdata import (
|
from rowingdata import (
|
||||||
TCXParser,RowProParser,ErgDataParser,TCXParserNoHR,
|
TCXParser,RowProParser,ErgDataParser,TCXParserNoHR,
|
||||||
|
CoxMateParser,
|
||||||
BoatCoachParser,RowPerfectParser,BoatCoachAdvancedParser,
|
BoatCoachParser,RowPerfectParser,BoatCoachAdvancedParser,
|
||||||
MysteryParser,
|
MysteryParser,
|
||||||
painsledDesktopParser,speedcoachParser,ErgStickParser,
|
painsledDesktopParser,speedcoachParser,ErgStickParser,
|
||||||
@@ -672,6 +673,11 @@ def handle_nonpainsled(f2,fileformat,summary=''):
|
|||||||
if (fileformat == 'ergdata'):
|
if (fileformat == 'ergdata'):
|
||||||
row = ErgDataParser(f2)
|
row = ErgDataParser(f2)
|
||||||
|
|
||||||
|
|
||||||
|
# handle CoxMate
|
||||||
|
if (fileformat == 'coxmate'):
|
||||||
|
row = CoxMateParser(f2)
|
||||||
|
|
||||||
# handle Mike
|
# handle Mike
|
||||||
if (fileformat == 'bcmike'):
|
if (fileformat == 'bcmike'):
|
||||||
row = BoatCoachAdvancedParser(f2)
|
row = BoatCoachAdvancedParser(f2)
|
||||||
|
|||||||
@@ -315,6 +315,10 @@ def handle_nonpainsled(f2,fileformat,summary=''):
|
|||||||
if (fileformat == 'ergdata'):
|
if (fileformat == 'ergdata'):
|
||||||
row = ErgDataParser(f2)
|
row = ErgDataParser(f2)
|
||||||
|
|
||||||
|
# handle CoxMate
|
||||||
|
if (fileformat == 'coxmate'):
|
||||||
|
row = CoxMateParser(f2)
|
||||||
|
|
||||||
# handle Mike
|
# handle Mike
|
||||||
if (fileformat == 'bcmike'):
|
if (fileformat == 'bcmike'):
|
||||||
row = BoatCoachAdvancedParser(f2)
|
row = BoatCoachAdvancedParser(f2)
|
||||||
|
|||||||
Reference in New Issue
Block a user