From 70857defa2beeb9886eeec675f50e3a90a220d6e Mon Sep 17 00:00:00 2001 From: Marcelo Saguas Iacovone Date: Mon, 26 Feb 2024 23:59:23 -0800 Subject: [PATCH] Fixes if statement for not isCompound/isArray --- cmdx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdx.py b/cmdx.py index f16ce74..024829b 100644 --- a/cmdx.py +++ b/cmdx.py @@ -2686,7 +2686,7 @@ def __repr__(self): self.node().name(), self.name()) - if not self.isCompound and not self.isArray: + if not all((self.isCompound, self.isArray)): # Delegate and include the value result from __str__ read_result = str(self) attr = self._mplug.attribute()