From 26346235c908e8215c9c530064398ed3b08d4713 Mon Sep 17 00:00:00 2001 From: shoko Date: Sun, 5 Apr 2026 06:51:57 +0000 Subject: [PATCH] fix: add missing closing parenthesis in process_queue Python extraction Fixes #142 - process_queue silently skips all queue items because issue_ref and message Python extraction commands were missing a closing parenthesis. The error was silently swallowed by 2>/dev/null causing both variables to be empty, so every queue item was skipped. --- skills/kugetsu/scripts/kugetsu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/kugetsu/scripts/kugetsu b/skills/kugetsu/scripts/kugetsu index 816a2b3..2129cad 100755 --- a/skills/kugetsu/scripts/kugetsu +++ b/skills/kugetsu/scripts/kugetsu @@ -1389,8 +1389,8 @@ process_queue() { fi local queue_id=$(basename "$item" .json) - local issue_ref=$(python3 -c "import json; print(json.load(open('$item')).get('issue_ref', '')" 2>/dev/null) - local message=$(python3 -c "import json; print(json.load(open('$item')).get('message', '')" 2>/dev/null) + local issue_ref=$(python3 -c "import json; print(json.load(open('$item')).get('issue_ref', ''))" 2>/dev/null) + local message=$(python3 -c "import json; print(json.load(open('$item')).get('message', ''))" 2>/dev/null) if [ -z "$issue_ref" ] || [ -z "$message" ]; then continue -- 2.49.1