Private
Public Access
1
0

fix #626 one message

This commit is contained in:
Sander Roosendaal
2021-08-26 08:19:04 +02:00
parent 7bf76e3c06
commit bed08eb9e8

View File

@@ -1021,8 +1021,8 @@ def workout_stravaimport_view(request,message="",userid=0):
csvfilename,
rower.user.id
)
messages.info(request,'Strava workout nr {stravaid} will be imported in the background. It may take a few minutes before it appears.'.format(stravaid=stravaid))
# done, redirect to workouts list
messages.info(request,'Your Strava workouts will be imported in the background. It may take a few minutes before it appears.'.format(stravaid=stravaid))
url = reverse('workouts_view')
return HttpResponseRedirect(url)
except KeyError: