diff --git a/adi/ad9083.py b/adi/ad9083.py index 0f9e8e35a..0cb37f26d 100644 --- a/adi/ad9083.py +++ b/adi/ad9083.py @@ -31,7 +31,7 @@ def __init__(self, uri=""): self._rx_channel_names.append(ch._id) for name in self._rx_channel_names: - if "_i" or "_q" in name: + if any(ext in name for ext in ["_i", "_q"]): self._complex_data = True rx.__init__(self)