Skip to content

Commit

Permalink
fix bug introduced by cleanup...
Browse files Browse the repository at this point in the history
  • Loading branch information
elichad committed Nov 20, 2023
1 parent a95889a commit f57fb46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion amy/extrequests/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,9 @@ def all_trainingrequests(request):
)
continue
try:
Membership.objects.get(registration_code=r.member_code)
membership_to_use = Membership.objects.get(
registration_code=r.member_code
)
except Membership.DoesNotExist:
errors.append(
f"{r}: No membership found for registration code "
Expand Down

0 comments on commit f57fb46

Please sign in to comment.