From 545f0ccb75336baf0f7dcc6cb001e6b9dfa7634f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 27 Aug 2010 15:20:22 -0400 Subject: [PATCH] Oops, the CommandMessage.explicit_user_call, not Command.explicit_user_call. Fixes bug from daf1c9f9c8e1. --- hooke/plugin/command_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/plugin/command_stack.py b/hooke/plugin/command_stack.py index b5c987c..3dfc731 100644 --- a/hooke/plugin/command_stack.py +++ b/hooke/plugin/command_stack.py @@ -81,7 +81,7 @@ class CaptureCommand (CommandStackCommand): return assert isinstance(msg, CommandMessage), type(msg) cmd = hooke.command_by_name[msg.command] - if (cmd.explicit_user_call == False + if (msg.explicit_user_call == False or isinstance(cmd, CommandStackCommand)): if isinstance(cmd, StopCaptureCommand): outqueue = Queue() # Grab StopCaptureCommand's completion. -- 2.26.2