Skip to content

Commit

Permalink
fix parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gpulido committed Oct 25, 2024
1 parent ba6295b commit 50e6808
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions airzone/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def modbus_factory(url, port, use_rtu_framer = False):
"""
if use_rtu_framer:
client = ModbusClient(url, port, framer=FramerType.RTU)
client = ModbusClient(url, port=port, framer=FramerType.RTU)
else:
client = ModbusClient(url, port)
client = ModbusClient(url, port=port)
return client


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = python-airzone
version = 0.16.1
version = 0.16.2
description = 'Python library for interfacing with Airzone using the modbus protocol', # Required
long_description = file: README.rst
keywords = innobus, airzone, modbus, HVAC
Expand Down

0 comments on commit 50e6808

Please sign in to comment.