From 01823a3497327da4429817bb365e84a69ce3ab1e Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 12 Sep 2025 00:04:09 +0200 Subject: [PATCH] Fix non-transmission of dictionary clearing. --- ircplom/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircplom/client.py b/ircplom/client.py index a2c78b2..12da45c 100644 --- a/ircplom/client.py +++ b/ircplom/client.py @@ -207,6 +207,8 @@ class IntoEndnodeUpdatesMixin(AutoAttrMixin): if isinstance(self, _Completable): return ([(path, self._completed)] if self._completed is not None else []) + if isinstance(self, Dict) and not self._dict: + return [(path, None)] updates = [] for key, val in (self._dict.items() if isinstance(self, Dict) else ((k, getattr(self, k)) -- 2.30.2