OPCUA: fix display names appearing with a "LocalizedText(" prefix when browsing localized server.
--- a/opc_ua/opcua_client_maker.py Tue Oct 19 12:58:22 2021 +0200
+++ b/opc_ua/opcua_client_maker.py Tue Oct 19 13:09:45 2021 +0200
@@ -368,7 +368,7 @@
def AddNodeItem(self, item_creation_func, node):
nsid = node.nodeid.NamespaceIndex
nid = node.nodeid.Identifier
- dname = node.get_display_name().to_string()
+ dname = node.get_display_name().Text
cname = node.get_node_class().name
item = item_creation_func(dname)