fix: round half up instead of rounding down
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e7df05566f
commit
01f5434065
|
@ -377,7 +377,7 @@ class MayAdvanceView(EventPermissionRequired, SubmissionMixin, View):
|
||||||
return JsonResponse(
|
return JsonResponse(
|
||||||
{
|
{
|
||||||
"mayAdvance": num_ratings
|
"mayAdvance": num_ratings
|
||||||
>= int(
|
>= round(
|
||||||
num_jurors
|
num_jurors
|
||||||
* self.request.event.pretalx_musicrate_settings.advance_threshold
|
* self.request.event.pretalx_musicrate_settings.advance_threshold
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue