diff -r f96e0254f0ce -r f794fbff8f02 wxglade_hmi/wxglade_hmi.py --- 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,