Beremiz.py
changeset 105 434aed8dc58d
parent 103 05b58747ca5d
child 106 9810689febb0
--- a/Beremiz.py	Mon Feb 18 18:34:24 2008 +0100
+++ b/Beremiz.py	Thu Feb 21 11:42:33 2008 +0100
@@ -788,7 +788,7 @@
     
     def GetButtonCallBackFunction(self, plugin, method):
         def OnButtonClick(event):
-            method(plugin, self.Log)
+            getattr(plugin,method)(self.Log)
             self.RefreshVariableLists()
             event.Skip()
         return OnButtonClick