update lib name
This commit is contained in:
parent
0e11c97280
commit
69602e6bd6
|
@ -12,7 +12,7 @@ import signals
|
||||||
import config as cfg
|
import config as cfg
|
||||||
|
|
||||||
from dbus.mainloop.glib import DBusGMainLoop
|
from dbus.mainloop.glib import DBusGMainLoop
|
||||||
from pymodbus.client.sync import ModbusSerialClient as Modbus
|
from pymodbus.client import ModbusSerialClient as Modbus
|
||||||
from pymodbus.exceptions import ModbusException, ModbusIOException
|
from pymodbus.exceptions import ModbusException, ModbusIOException
|
||||||
from pymodbus.other_message import ReportSlaveIdRequest
|
from pymodbus.other_message import ReportSlaveIdRequest
|
||||||
from pymodbus.pdu import ExceptionResponse
|
from pymodbus.pdu import ExceptionResponse
|
||||||
|
|
Loading…
Reference in New Issue