Private
Public Access
1
0

start new data flow

This commit is contained in:
2025-10-21 18:01:34 +02:00
parent fa2944a7a5
commit f8f4552355
3 changed files with 150 additions and 12 deletions

View File

@@ -1656,18 +1656,6 @@ def new_workout_from_file(r, f2,
if fileformat == 'unknown': # pragma: no cover
message = "We couldn't recognize the file type"
extension = os.path.splitext(f2)[1]
filename = os.path.splitext(f2)[0]
if extension == '.gz':
filename = os.path.splitext(filename)[0]
extension2 = os.path.splitext(filename)[1]+extension
extension = extension2
f4 = filename+'a'+extension
copyfile(f2, f4)
_ = myqueue(queuehigh,
handle_sendemail_unrecognized,
f4,
r.user.email)
return (0, message, f2)