Fix self.command.name -> command.name in gui.HookeFrame.execute_command
authorW. Trevor King <wking@drexel.edu>
Sat, 14 Aug 2010 08:11:26 +0000 (04:11 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 14 Aug 2010 08:11:26 +0000 (04:11 -0400)
hooke/ui/gui/__init__.py

index 4c0127e8ce48b21413a3ec477c08308a2ea70b23..782691f181f8d75f57326504ca61531fa802529d 100644 (file)
@@ -335,7 +335,7 @@ class HookeFrame (wx.Frame):
                         args[arg.name].pop()
                     if len(args[arg.name]) == 0:
                         args[arg.name] = arg.default
                         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:
         self.gui._submit_command(cm, self.inqueue)
         results = []
         while True: