fix: joj3 check for + 1 submit count

This commit is contained in:
张泊明518370910136 2024-11-25 04:38:19 -05:00
parent dd9c150598
commit f7d0b8bb54
GPG Key ID: CA088E6D9284F870

View File

@ -711,7 +711,7 @@ def joj3_check(
if group not in groups:
continue
submit_count += 1
if submit_count > max_count:
if submit_count + 1 > max_count: # + 1 as we will submit later
logger.error(
f"submitter {submitter} has submitted too many times, "
f"group={group}, "