# HG changeset patch # User Edouard Tisserant # Date 1655140951 -7200 # Node ID a35bf9c585cfcaf93f455dc6d42acd4cc6efcc1a # Parent fa291393aac72d2d8b6c5f9c101c2399ee82c565 Fix typos breaking IDE diff -r fa291393aac7 -r a35bf9c585cf BeremizIDE.py --- 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 diff -r fa291393aac7 -r a35bf9c585cf util/paths.py --- 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)