diff --git a/rowers/dataprep.py b/rowers/dataprep.py index 8e346aba..0f5e03ab 100644 --- a/rowers/dataprep.py +++ b/rowers/dataprep.py @@ -34,7 +34,7 @@ from rowingdata import ( MysteryParser, BoatCoachOTWParser,QuiskeParser, painsledDesktopParser, speedcoachParser, ErgStickParser, SpeedCoach2Parser, FITParser, fitsummarydata, - RitmoTimeParser, + RitmoTimeParser,KinoMapParser, make_cumvalues,cumcpdata,ExcelTemplate, summarydata, get_file_type, ) @@ -1073,6 +1073,7 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower', return (w.id, message) parsers = { + 'kinomap': KinoMapParser, 'xls': ExcelTemplate, 'rp': RowProParser, 'tcx':TCXParser, @@ -1173,6 +1174,7 @@ def new_workout_from_file(r, f2, message = None try: fileformat = get_file_type(f2) + print fileformat,'aap' except IOError: os.remove(f2) message = "Rowsandall could not process this file. The extension is supported but the file seems corrupt. Contact info@rowsandall.com if you think this is incorrect."