mhdazeem / modbus-tk

Automatically exported from code.google.com/p/modbus-tk
Other
0 stars 0 forks source link

Patch for /hmi/master_webhmi.py, related de port it's not the default #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem occurs when you use the port variable that it's returned in string 
type, but TcpMaster() need it in 'int' type.

So in line 35 I added the str() cast to host and int() to port.

Original issue reported on code.google.com by nicolas....@gmail.com on 15 Apr 2011 at 7:07

Attachments:

GoogleCodeExporter commented 9 years ago
I forgot, i use 2.6.4 in Ubuntu GNU/Linux

Original comment by nicolas....@gmail.com on 15 Apr 2011 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by luc.jean@gmail.com on 24 May 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Thanks for this patch and sorry for taking a long time to integrate it

Original comment by luc.jean@gmail.com on 24 May 2011 at 12:04