From 07d6ec554b9dd3ced323bcc1cf0728ff7bb6d8ec Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Wed, 4 Jul 2018 17:17:25 +0200 Subject: [PATCH] bla --- rowers/dataprep.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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."