--- a/BeremizIDE.py Mon Jun 13 18:05:12 2022 +0200
+++ b/BeremizIDE.py Mon Jun 13 19:22:31 2022 +0200
@@ -444,7 +444,6 @@
os.environ["PATH"] = os.getcwd()+';'+os.environ["PATH"]
def __init__(self, parent, projectOpen=None, buildpath=None, ctr=None, debug=True, logf=None):
- LocalRuntimeMixin.__init__(self)
# Add beremiz's icon in top left corner of the frame
self.icon = wx.Icon(Bpath("images", "brz.ico"), wx.BITMAP_TYPE_ICO)
@@ -453,6 +452,8 @@
IDEFrame.__init__(self, parent, debug)
self.Log = LogPseudoFile(self.LogConsole, self.SelectTab, logf)
+ LocalRuntimeMixin.__init__(self, self.Log)
+
self.LastPanelSelected = None
# Define Tree item icon list
--- a/util/paths.py Mon Jun 13 18:05:12 2022 +0200
+++ b/util/paths.py Mon Jun 13 19:22:31 2022 +0200
@@ -55,8 +55,8 @@
"""
return os.path.join(AbsParentDir(__file__, 2), name)
-def Bpath(name):
+def Bpath(*names):
"""
Return path of files in Beremiz project
"""
- return os.path.join(AbsParentDir(__file__, 1), name)
+ return os.path.join(AbsParentDir(__file__, 1), *names)