diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/DataFeatures.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py index ac4a176..793f498 100644 --- a/src/argaze/DataFeatures.py +++ b/src/argaze/DataFeatures.py @@ -456,17 +456,13 @@ def PipelineStepMethod(method): for observer_name, observer in self.observers.items(): # Does the observer cares about this method? - try: + if subscription_name in dir(observer): subscription = getattr(observer, subscription_name) # Call subscription subscription(timestamp, self) - except AttributeError: - - pass - return result return wrapper |