beremiz

fdd7f9938e59
Parents 31c9409a5841
Children 25195da82745
fix platform identification when running CLI under Win32
--- a/ProjectController.py Wed Nov 09 22:17:13 2022 +0800
+++ b/ProjectController.py Thu Nov 10 10:45:40 2022 +0800
@@ -114,7 +114,7 @@
return path
def findCmd(self):
- cmd = "iec2c" + (".exe" if wx.Platform == '__WXMSW__' else "")
+ cmd = "iec2c" + (".exe" if os.name == 'nt' else "")
paths = [
os.path.join(base_folder, "matiec")
]