beremiz

ef0b303d9535
Parents 8a702213ce51
Children ad4db7099355
Bug when try to launch wxGlade on Windows fixed
  • +4 -2
    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