From f7d0b8bb5498ac2efd8c5579e3f8cfb6cfa4fff3 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 25 Nov 2024 04:38:19 -0500 Subject: [PATCH] fix: joj3 check for + 1 submit count --- joint_teapot/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joint_teapot/app.py b/joint_teapot/app.py index b5455a4..55295c9 100644 --- a/joint_teapot/app.py +++ b/joint_teapot/app.py @@ -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}, "