# HG changeset patch
# User Laurent Bessard
# Date 1368484235 -7200
# Node ID f794fbff8f024a50af1a34e44ffadb6cff348dfd
# Parent  f96e0254f0ce68a7efe29ccc394168484b287204
Fixed bug in wxGlade hmi python code generated

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,