ljean / modbus-tk

Create Modbus app easily with Python
Other
571 stars 212 forks source link

When I run mysimu.py in windows 7 sp1 in tcp/ip mode, I got an Exception #68

Closed moebiusever closed 7 years ago

moebiusever commented 8 years ago

Details: File "C:\Python34\lib\site-packages\modbus_tk\simulator.py", line 142, in init raise Exception("%s platform is not supported yet" % os.name) Exception: nt platform is not supported yet I think it is a bug of simulator.py, in line 137 if os.name == "posix": should be elif os.name == "posix": While I do like that, it works.

ljean commented 7 years ago

Yes! It's right