--- a/BeremizIDE.py Thu Aug 17 17:25:17 2017 +0300
+++ b/BeremizIDE.py Fri Aug 18 12:36:31 2017 +0300
@@ -548,8 +548,8 @@
if result is not None:
first_line, first_column, last_line, last_column, error = result.groups()
infos = self.CTR.ShowError(self.Log,
- (int(first_line), int(first_column)),
- (int(last_line), int(last_column)))
+ (int(first_line), int(first_column)),
+ (int(last_line), int(last_column)))
## Function displaying an Error dialog in PLCOpenEditor.
# @return False if closing cancelled.
@@ -884,8 +884,8 @@
except:
defaultpath = os.path.expanduser("~")
- dialog = wx.DirDialog(self, _("Choose a project"), defaultpath, style=wx.DEFAULT_DIALOG_STYLE |
- wx.RESIZE_BORDER)
+ dialog = wx.DirDialog(self, _("Choose a project"), defaultpath,
+ style=wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER)
if dialog.ShowModal() == wx.ID_OK:
self.OpenProject(dialog.GetPath())
dialog.Destroy()