diff --git a/tangostationcontrol/tangostationcontrol/clients/opcua_client.py b/tangostationcontrol/tangostationcontrol/clients/opcua_client.py index 87d283c25156dca6a86b8e933830ccfb77d50d6a..f0c246a691ea163a7549715bee5d15393cc6674d 100644 --- a/tangostationcontrol/tangostationcontrol/clients/opcua_client.py +++ b/tangostationcontrol/tangostationcontrol/clients/opcua_client.py @@ -136,6 +136,9 @@ class OPCUAConnection(AsyncCommClient): async def get_node(self, path): """ Retrieve an OPC-UA node from either the cache, or the server. """ + if not path: + return self.obj + cache_key = ",".join(path) # lookup in cache