From 2dc6b8cde8af8771442150e1d826045a577683af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Rast?= Date: Wed, 16 Feb 2022 15:37:42 +0100 Subject: [PATCH] Fixed Parametername varianttype -> VariantType Fixed parameter named from lowercase to CameCase in statemachine.install. --- asyncua/common/statemachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncua/common/statemachine.py b/asyncua/common/statemachine.py index 736d9a3c0..1034543a9 100644 --- a/asyncua/common/statemachine.py +++ b/asyncua/common/statemachine.py @@ -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")