Private
Public Access
1
0

using v3 now

This commit is contained in:
Sander Roosendaal
2022-08-17 02:44:48 +02:00
parent a7773a6f4a
commit b88aa0a246
4 changed files with 49 additions and 3 deletions

View File

@@ -52,6 +52,11 @@ def workout_tp_upload_view(request, id=0):
w.uploadedtotp = res
w.save()
os.remove(tcxfile)
job = myqueue(queuelow,
check_tp_workout_id,
w,
headers['Location'])
messages.info(request, 'Uploaded to TrainingPeaks')
else: # pragma: no cover # no tcxfile

View File

@@ -263,6 +263,7 @@ from rowers.tasks import (
handle_c2_async_workout,
handle_send_email_instantplan_notification,
handle_nk_async_workout,
check_tp_workout_id,
)
from scipy.signal import savgol_filter