remove arg : self.runtime when create pluginroot instance in OnOpenProject and OnNewProject method from beremiz class
--- 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()