1
0
mirror of https://github.com/FreeOpcUa/opcua-asyncio synced 2025-10-29 17:07:18 +08:00

Merge pull request #278 from JoeyFaulkner/bugfix/wrong_callback

accidentally wrote PostWrite instead of PreWrite
This commit is contained in:
JoeyFaulkner 2020-09-02 10:39:50 +02:00 committed by GitHub
commit 97820f0a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ class InternalSession:
user = User()
else:
user = self.user
await self.iserver.callback_service.dispatch(CallbackType.PostWrite,
await self.iserver.callback_service.dispatch(CallbackType.PreWrite,
ServerItemCallback(params, None, user))
write_result = await self.iserver.attribute_service.write(params, user=user)
await self.iserver.callback_service.dispatch(CallbackType.PostWrite,