From 80a4cc2635e8888ddda051f6dc282e2873570d0e Mon Sep 17 00:00:00 2001 From: Fabian Beitler Date: Tue, 30 Mar 2021 10:47:30 +0200 Subject: [PATCH] Revert "Auto set ServerTimestamp if value is written" (#521) This reverts commit 0a1cce0783d93493515ff92e55952e63909fc834. #461 causes connection problems. See #520 --- asyncua/server/address_space.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/asyncua/server/address_space.py b/asyncua/server/address_space.py index a46626526..79e736711 100644 --- a/asyncua/server/address_space.py +++ b/asyncua/server/address_space.py @@ -68,8 +68,6 @@ async def write(self, params, user=User(role=UserRole.Admin)): ua.ua_binary.test_bit(ual.Value.Value, ua.AccessLevel.CurrentWrite): res.append(ua.StatusCode(ua.StatusCodes.BadUserAccessDenied)) continue - if not writevalue.Value.ServerTimestamp: - writevalue.Value.ServerTimestamp = datetime.utcnow() res.append( await self._aspace.write_attribute_value(writevalue.NodeId, writevalue.AttributeId, writevalue.Value)) return res