pazzarpj / aiomodbus

Asyncio Library for Modbus
MIT License
5 stars 1 forks source link

Gives attribute error when requesting before connected #23

Closed pazzarpj closed 3 years ago

pazzarpj commented 4 years ago
await asyncio.sleep(self.protocol.byte_time * 2.5)
AttributeError: 'NoneType' object has no attribute 'byte_time'