diff --git a/asyncua/sync.py b/asyncua/sync.py index f19fe1b9f..a95b76252 100644 --- a/asyncua/sync.py +++ b/asyncua/sync.py @@ -660,6 +660,8 @@ def __init__(self, tloop: ThreadLoop, aio_node: node.Node): self.tloop = tloop def __eq__(self, other): + if not isinstance(other, SyncNode): + return False return other is not None and self.aio_obj == other.aio_obj def __ne__(self, other):