Remove weird side effects that insert the values from previuos call

This commit is contained in:
clerie 2022-05-02 18:07:15 +02:00
parent 0a442e4ab5
commit 2eb04e0428

View File

@ -55,8 +55,8 @@ class Message:
self.name = name
if not self.name:
self.name = self.__class__.__name__
self._attrs = attrs
self._childs = childs
self._attrs = {} | attrs
self._childs = {} | childs
self.childs = self.Childs(self.CHILDS, self._childs)
def __getattr__(self, name):