From d0ab2a0757e91cab38df5b3292874501f10cad89 Mon Sep 17 00:00:00 2001 From: Teresia Olsson Date: Wed, 9 Sep 2026 17:09:16 +0200 Subject: [PATCH] Fix bug with attributes in multi attribute. --- tango/pyaml/multi_attribute.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tango/pyaml/multi_attribute.py b/tango/pyaml/multi_attribute.py index c0a4b02..807b5e4 100644 --- a/tango/pyaml/multi_attribute.py +++ b/tango/pyaml/multi_attribute.py @@ -50,8 +50,7 @@ def __init__( range: tuple[float | None, float | None] | None = None, ): super().__init__() - - self._attributes = attributes + self._attributes = [] if attributes is None else attributes self._name = name self._unit = unit self._range = range