diff --git a/rowers/dataprep.py b/rowers/dataprep.py index 9388c84f..62ff6923 100644 --- a/rowers/dataprep.py +++ b/rowers/dataprep.py @@ -997,6 +997,11 @@ def new_workout_from_file(r, f2, message = "It looks like this file doesn't contain stroke data." return (0, message, f2) + if fileformat == 'kml': + os.remove(f2) + message = "KML files are not supported" + return (0, message, f2) + # Some people upload corrupted zip files if fileformat == 'notgzip': os.remove(f2) diff --git a/rowers/utils.py b/rowers/utils.py index 921c8491..0b3f2d93 100644 --- a/rowers/utils.py +++ b/rowers/utils.py @@ -62,6 +62,8 @@ coxes_calls = [ "Let's relax the shoulders, and give me a power ten to the finish!", "Almost there. Give me ten strokes on the legs!", "Let it run!", + "Don't rush the slides!", + "We're going for the line now. Power ten on the next.", ] info_calls = [