dialogs/SFCStepNameDialog.py
changeset 1745 f9d32913bad4
parent 1744 69dfdb26f600
child 1767 c74815729afd
--- a/dialogs/SFCStepNameDialog.py	Tue Aug 15 22:38:43 2017 +0300
+++ b/dialogs/SFCStepNameDialog.py	Wed Aug 16 11:47:27 2017 +0300
@@ -32,7 +32,7 @@
 class SFCStepNameDialog(wx.TextEntryDialog):
 
     def __init__(self, parent, message, caption="Please enter text", defaultValue="",
-                       style=wx.OK|wx.CANCEL|wx.CENTRE, pos=wx.DefaultPosition):
+                       style=wx.OK | wx.CANCEL | wx.CENTRE, pos=wx.DefaultPosition):
         wx.TextEntryDialog.__init__(self, parent, message, caption, defaultValue, style, pos)
 
         self.PouNames = []
@@ -58,7 +58,7 @@
         elif step_name.upper() in self.StepNames:
             message = _("\"%s\" step already exists!") % step_name
         if message is not None:
-            dialog = wx.MessageDialog(self, message, _("Error"), wx.OK|wx.ICON_ERROR)
+            dialog = wx.MessageDialog(self, message, _("Error"), wx.OK | wx.ICON_ERROR)
             dialog.ShowModal()
             dialog.Destroy()
         else: