--- a/wxglade_hmi/wxglade_hmi.py Mon Aug 14 23:38:28 2017 +0300
+++ b/wxglade_hmi/wxglade_hmi.py Tue Aug 15 12:17:51 2017 +0300
@@ -36,10 +36,12 @@
class WxGladeHMI(PythonFileCTNMixin):
ConfNodeMethods = [
- {"bitmap" : "editWXGLADE",
- "name" : _("WXGLADE GUI"),
- "tooltip" : _("Edit a WxWidgets GUI with WXGlade"),
- "method" : "_editWXGLADE"},
+ {
+ "bitmap": "editWXGLADE",
+ "name": _("WXGLADE GUI"),
+ "tooltip": _("Edit a WxWidgets GUI with WXGlade"),
+ "method": "_editWXGLADE"
+ },
]
def GetIconName(self):
@@ -97,9 +99,9 @@
for node in wxgtree.childNodes[1].childNodes:
if node.nodeType == wxgtree.ELEMENT_NODE:
hmi_frames.append({
- "name" : node.getAttribute("name"),
- "class" : node.getAttribute("class"),
- "handlers" : [
+ "name": node.getAttribute("name"),
+ "class": node.getAttribute("class"),
+ "handlers": [
hnode.firstChild.data for hnode in
node.getElementsByTagName("handler")]})