Private
Public Access
1
0

fixed bug

This commit is contained in:
Sander Roosendaal
2020-06-22 20:43:16 +02:00
parent aad839968d
commit d7a29d1967
2 changed files with 8 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ jupyterlab-server==0.3.0
keyring==18.0.0
kiwisolver==1.0.1
kombu==4.5.0
llvmlite==0.30.0
llvmlite==0.33.0
lxml==4.3.2
Markdown==3.0.1
MarkupSafe==1.1.1

View File

@@ -5199,10 +5199,16 @@ def workout_upload_view(request,
if registrationid != 0:
url = reverse('virtualevent_view',
try:
url = reverse('virtualevent_view',
kwargs = {
'id':race.id,
})
except UnboundLocalError:
url = reverse(landingpage,
kwargs = {
'id':encoder.encode_hex(w.id),
})
elif landingpage != 'workout_upload_view':
url = reverse(landingpage,
kwargs = {