Commit 2780e23
authored
Add identity argument to ModbusSerialServer (#670)
It is passed in by StartSerialServer but no argument
of the constructor accepts it, resulting in a runtime
failure:
File ".../site-packages/pymodbus/server/async_io.py",
line 932, in StartSerialServer
server = ModbusSerialServer(context, framer, identity, **kwargs)
TypeError: __init__() takes from 2 to 3 positional arguments but 4 were
given1 parent 7b68c37 commit 2780e23
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
| 715 | + | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| 721 | + | |
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
| |||
753 | 754 | | |
754 | 755 | | |
755 | 756 | | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
756 | 761 | | |
757 | 762 | | |
758 | 763 | | |
| |||
0 commit comments