beremiz

Parents b80d3a84b8bf
Children 6eb074f0dae9
remove arg : self.runtime when create pluginroot instance in OnOpenProject and OnNewProject method from beremiz class
  • +2 -2
    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()