Skip to content
Snippets Groups Projects
Commit f57bf7a0 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-412: Fix statistics devices after merge error and wrong order of parameters

parent 70b5a268
Branches
Tags
1 merge request!142L2SS-412: Use asyncio for opcua and other clients
......@@ -17,7 +17,7 @@ class StatisticsClient(AsyncCommClient):
and provides a CommClient interface to expose points to a Device Server.
"""
def __init__(self, collector, udp_options, tcp_options, fault_func, queuesize=1024, event_loop=None):
def __init__(self, collector, udp_options, tcp_options, fault_func, event_loop=None, queuesize=1024):
"""
Create the statistics client and connect() to it and get the object node.
......
......@@ -146,11 +146,6 @@ class Statistics(opcua_device, metaclass=ABCMeta):
await self.statistics_client.start()
# tie attributes to client
for i in self.attr_list():
if i.comms_id == StatisticsClient:
i.set_comm_client(self.statistics_client)
# --------
# Commands
# --------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment