etherlab/ConfigEditor.py
changeset 2363 9c7da6ff6a34
parent 2360 2a3d022a7dac
child 2367 0fb54172a18b
--- a/etherlab/ConfigEditor.py	Fri Sep 28 18:12:18 2018 +0300
+++ b/etherlab/ConfigEditor.py	Fri Sep 28 19:02:49 2018 +0300
@@ -237,7 +237,7 @@
                     else:
                         dir = "%Q"
                     location = "%s%s" % (dir, data_size) + \
-                               ".".join(map(lambda x:str(x), location + (entry_index, entry_subindex)))
+                               ".".join(map(lambda x: str(x), location + (entry_index, entry_subindex)))
 
                     data = wx.TextDataObject(str((location, "location", data_type, var_name, "", access)))
                     dragSource = wx.DropSource(self.VariablesGrid)
@@ -995,7 +995,7 @@
             data_size = self.Controler.GetSizeOfType(var_type)
             number = self.ProcessVariablesTable.GetValueByName(row, "Number")
             location = "%%M%s" % data_size + \
-                       ".".join(map(lambda x:str(x), self.Controler.GetCurrentLocation() + (number,)))
+                       ".".join(map(lambda x: str(x), self.Controler.GetCurrentLocation() + (number,)))
 
             data = wx.TextDataObject(str((location, "location", var_type, var_name, "")))
             dragSource = wx.DropSource(self.ProcessVariablesGrid)