From: W. Trevor King Date: Sat, 14 Aug 2010 08:11:26 +0000 (-0400) Subject: Fix self.command.name -> command.name in gui.HookeFrame.execute_command X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f73727451aa54e22e3b43ae84983b4013695b1f;p=hooke.git Fix self.command.name -> command.name in gui.HookeFrame.execute_command --- diff --git a/hooke/ui/gui/__init__.py b/hooke/ui/gui/__init__.py index 4c0127e..782691f 100644 --- a/hooke/ui/gui/__init__.py +++ b/hooke/ui/gui/__init__.py @@ -335,7 +335,7 @@ class HookeFrame (wx.Frame): args[arg.name].pop() if len(args[arg.name]) == 0: args[arg.name] = arg.default - cm = CommandMessage(self.command.name, args) + cm = CommandMessage(command.name, args) self.gui._submit_command(cm, self.inqueue) results = [] while True: