BeremizIDE.py
changeset 1767 c74815729afd
parent 1766 c1e5b9f19483
child 1768 691083b5682a
--- 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()