Skip to content

Commit

Permalink
Fixes if statement for not isCompound/isArray
Browse files Browse the repository at this point in the history
  • Loading branch information
chelloiaco committed Feb 27, 2024
1 parent 8da17d3 commit 70857de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 70857de

Please sign in to comment.