Private
Public Access
1
0

small fixes

This commit is contained in:
Sander Roosendaal
2018-07-07 16:13:19 +02:00
parent d1ddb9b242
commit 75d5db185f
3 changed files with 1 additions and 3 deletions

View File

@@ -1177,7 +1177,6 @@ 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."