# HG changeset patch # User Edouard Tisserant # Date 1634641785 -7200 # Node ID 3656d0d235c43a535afb467dc9b99a6b5a8dccd2 # Parent 1ca385429bbad2556530ab38e34a00d1087d717d OPCUA: fix display names appearing with a "LocalizedText(" prefix when browsing localized server. diff -r 1ca385429bba -r 3656d0d235c4 opc_ua/opcua_client_maker.py --- 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)