equal
deleted
inserted
replaced
1019 wxgfile=self._getWXGLADEpath() |
1019 wxgfile=self._getWXGLADEpath() |
1020 if os.path.exists(wxgfile): |
1020 if os.path.exists(wxgfile): |
1021 hmipyfile=os.path.join(self._getBuildPath(),"hmi.py") |
1021 hmipyfile=os.path.join(self._getBuildPath(),"hmi.py") |
1022 if wx.Platform == '__WXMSW__': |
1022 if wx.Platform == '__WXMSW__': |
1023 wxgfile = "\"%s\""%wxgfile |
1023 wxgfile = "\"%s\""%wxgfile |
1024 hmipyfile = "\"%s\""%hmipyfile |
1024 _hmipyfile = "\"%s\""%hmipyfile |
1025 self.launch_wxglade(['-o', hmipyfile, '-g', 'python', wxgfile], wait=True) |
1025 else: |
|
1026 _hmipyfile = hmipyfile |
|
1027 self.launch_wxglade(['-o', _hmipyfile, '-g', 'python', wxgfile], wait=True) |
1026 res += (("hmi.py", file(hmipyfile,"rb")),) |
1028 res += (("hmi.py", file(hmipyfile,"rb")),) |
1027 |
1029 |
1028 return res |
1030 return res |
1029 |
1031 |
1030 |
1032 |