From 386a32cf11423597249782b1bc36ae3a58efd30a Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Fri, 20 Oct 2023 15:56:20 -0500 Subject: [PATCH] Fix null cntrb id errors --- augur/tasks/github/events/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/tasks/github/events/tasks.py b/augur/tasks/github/events/tasks.py index 490a31e934..129afd0de5 100644 --- a/augur/tasks/github/events/tasks.py +++ b/augur/tasks/github/events/tasks.py @@ -208,7 +208,7 @@ def update_issue_closed_cntrbs_from_events(engine, repo_id): WHERE "action" = 'closed' ) - SELECT issue_id, cntrb_id from RankedIssues where rn=1 and repo_id={repo_id} + SELECT issue_id, cntrb_id from RankedIssues where rn=1 and repo_id={repo_id} and cntrb_id is not NULL """) result = engine.execute(get_ranked_issues).fetchall()