remove arg : self.runtime when create pluginroot instance in OnOpenProject and OnNewProject method from beremiz class
authorgreg
Mon, 19 Jan 2009 13:11:20 +0100
changeset 308 d7b0b2d8854c
parent 307 b80d3a84b8bf
child 309 6eb074f0dae9
remove arg : self.runtime when create pluginroot instance in OnOpenProject and OnNewProject method from beremiz class
Beremiz.py
--- a/Beremiz.py	Mon Jan 19 10:08:45 2009 +0100
+++ b/Beremiz.py	Mon Jan 19 13:11:20 2009 +0100
@@ -1221,7 +1221,7 @@
             dialog.Destroy()
             config.Write("lastopenedfolder", os.path.dirname(projectpath))
             config.Flush()
-            self.PluginRoot = PluginsRoot(self, self.Log, self.runtime_port)
+            self.PluginRoot = PluginsRoot(self, self.Log)
             res = self.PluginRoot.NewProject(projectpath)
             if not res :
                 self.RefreshAll()
@@ -1244,7 +1244,7 @@
             if os.path.isdir(projectpath):
                 config.Write("lastopenedfolder", os.path.dirname(projectpath))
                 config.Flush()
-                self.PluginRoot = PluginsRoot(self, self.Log, self.runtime_port)
+                self.PluginRoot = PluginsRoot(self, self.Log)
                 result = self.PluginRoot.LoadProject(projectpath)
                 if not result:
                     self.RefreshAll()