Private
Public Access
1
0

Merge branch 'release/v4.93'

This commit is contained in:
Sander Roosendaal
2017-11-06 22:10:02 +01:00
2 changed files with 7 additions and 0 deletions

View File

@@ -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)

View File

@@ -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 = [