diff --git a/python/pyrogue/_DataReceiver.py b/python/pyrogue/_DataReceiver.py index 9bb431c62..bba458597 100644 --- a/python/pyrogue/_DataReceiver.py +++ b/python/pyrogue/_DataReceiver.py @@ -88,7 +88,7 @@ def _acceptFrame(self, frame): """ # Do nothing if not yet started or enabled - if self.running is False or self.RxEnable.value() is False: + if self.running is False or not self.RxEnable.value(): return # Lock frame