Skip to content

Commit

Permalink
small fix to generate code for 1.05.02
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier committed Sep 17, 2023
1 parent e8fa483 commit c0d9a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/generate_address_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def make_object_code(self, obj):
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'''
Expand Down

0 comments on commit c0d9a4d

Please sign in to comment.