# HG changeset patch
# User lbessard
# Date 1232468536 -3600
# Node ID ef0b303d9535415136dc5a7c028f2c23116f8e12
# Parent  8a702213ce512ec9b33d4fa3fd19db426fa0e00b
Bug when try to launch wxGlade on Windows fixed

diff -r 8a702213ce51 -r ef0b303d9535 plugger.py
--- a/plugger.py	Tue Jan 20 17:02:25 2009 +0100
+++ b/plugger.py	Tue Jan 20 17:22:16 2009 +0100
@@ -1021,8 +1021,10 @@
             hmipyfile=os.path.join(self._getBuildPath(),"hmi.py")
             if wx.Platform == '__WXMSW__':
                 wxgfile = "\"%s\""%wxgfile
-                hmipyfile = "\"%s\""%hmipyfile
-            self.launch_wxglade(['-o', hmipyfile, '-g', 'python', wxgfile], wait=True)
+                _hmipyfile = "\"%s\""%hmipyfile
+            else:
+                _hmipyfile = hmipyfile
+            self.launch_wxglade(['-o', _hmipyfile, '-g', 'python', wxgfile], wait=True)
             res += (("hmi.py", file(hmipyfile,"rb")),)
 
         return res