Commit e4cee394 authored by Olivier's avatar Olivier

small fix to generate code for 1.05.02

parent 92dfc737
......@@ -196,7 +196,7 @@ class CodeGenerator:
self.writecode()
self.writecode(indent, 'attrs = ua.ObjectAttributes(')
if obj.desc:
self.writecode(indent, ' Description=LocalizedText("{0}"),'.format(obj.desc))
self.writecode(indent, ' Description=LocalizedText("""{0}"""),'.format(obj.desc))
self.writecode(
f''' DisplayName=LocalizedText("{obj.displayname}"),\n'''
f''' EventNotifier={obj.eventnotifier},\n'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment