From 88a4d581b9c5a4eee9e83e24341039daddbed3ac Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Tue, 3 Mar 2026 15:46:38 -0800 Subject: [PATCH] fix: scope error for posts array when action is reply --- src/void_tools/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/void_tools/cli.py b/src/void_tools/cli.py index d3b1425..69e7f6b 100644 --- a/src/void_tools/cli.py +++ b/src/void_tools/cli.py @@ -145,9 +145,9 @@ def cmd_dispatch(args): for act in actions: action_type = act.get("action") + posts = act.get("posts", []) if action_type == "post": - posts = act.get("posts", []) if not posts: continue print("Dispatching standalone post/thread...") -- 2.51.2