Private
Public Access
1
0

fix c2 import

This commit is contained in:
Sander Roosendaal
2022-04-07 09:27:34 +02:00
parent 3c2813c3e3
commit 3590589eb7
3 changed files with 16 additions and 7 deletions

View File

@@ -2125,6 +2125,7 @@ def new_workout_from_file(r, f2,
uploadoptions={'boattype': '1x', 'workouttype': 'rower'}):
message = ""
try:
fileformat = get_file_type(f2)
except (IOError, UnicodeDecodeError): # pragma: no cover