Skip to content

Commit 50e6808

Browse files
committed
fix parameter
1 parent ba6295b commit 50e6808

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

airzone/protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def modbus_factory(url, port, use_rtu_framer = False):
1818
1919
"""
2020
if use_rtu_framer:
21-
client = ModbusClient(url, port, framer=FramerType.RTU)
21+
client = ModbusClient(url, port=port, framer=FramerType.RTU)
2222
else:
23-
client = ModbusClient(url, port)
23+
client = ModbusClient(url, port=port)
2424
return client
2525

2626

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = python-airzone
3-
version = 0.16.1
3+
version = 0.16.2
44
description = 'Python library for interfacing with Airzone using the modbus protocol', # Required
55
long_description = file: README.rst
66
keywords = innobus, airzone, modbus, HVAC

0 commit comments

Comments
 (0)