Fixed an incorrect test that compared the meeting number string with an integer.
- Legacy-Id: 16395
This commit is contained in:
parent
fa85e6edee
commit
77e055264e
|
@ -2179,7 +2179,7 @@ def finalize_proceedings(request, num=None):
|
|||
|
||||
meeting = get_meeting(num)
|
||||
|
||||
if meeting.number <= 64 or not meeting.agenda or not meeting.agenda.assignments.exists() or meeting.proceedings_final:
|
||||
if (meeting.number.isdigit() and int(meeting.number) <= 64) or not meeting.agenda or not meeting.agenda.assignments.exists() or meeting.proceedings_final:
|
||||
raise Http404
|
||||
|
||||
if request.method=='POST':
|
||||
|
|
Loading…
Reference in a new issue