wxglade_hmi/wxglade_hmi.py
changeset 1131 f794fbff8f02
parent 1124 b1705000eba1
child 1132 28f96aa9c070
--- a/wxglade_hmi/wxglade_hmi.py	Mon May 13 23:15:28 2013 +0200
+++ b/wxglade_hmi/wxglade_hmi.py	Tue May 14 00:30:35 2013 +0200
@@ -88,7 +88,7 @@
         
         for section in ["init", "cleanup"]:
             if not sections_code[section]:
-                sections_code = "    pass"
+                sections_code[section] = "    pass"
         
         sections_code.update({
             "location": location_str,