Skip to content

Commit

Permalink
Fixed Parametername varianttype -> VariantType
Browse files Browse the repository at this point in the history
Fixed parameter named from lowercase to CameCase in statemachine.install.
  • Loading branch information
jrast authored and oroulet committed Feb 20, 2022
1 parent 033427b commit 2dc6b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/common/statemachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async def install(self, optionals: bool=False):
self._last_transition_transitiontime_node = await self._last_transition_node.add_property(
0,
"TransitionTime",
ua.Variant(datetime.datetime.utcnow(), varianttype=ua.VariantType.DateTime)
ua.Variant(datetime.datetime.utcnow(), VariantType=ua.VariantType.DateTime)
)
else:
self._last_transition_transitiontime_node = await self._last_transition_node.get_child("TransitionTime")
Expand Down

0 comments on commit 2dc6b8c

Please sign in to comment.