diff --git a/lc_classification_step/lc_classification/core/step.py b/lc_classification_step/lc_classification/core/step.py index 31f692c3a..d2fe7ac44 100644 --- a/lc_classification_step/lc_classification/core/step.py +++ b/lc_classification_step/lc_classification/core/step.py @@ -66,7 +66,7 @@ def __init__(self, config={}, level=logging.INFO, model=None, **step_args): self.step_parser: KafkaParser = get_class( config["STEP_PARSER_CLASS"] )() - self.min_detections = config.get("MIN_DETECTIONS", None) + self.min_detections = self.config.get("MIN_DETECTIONS", None) if self.min_detections is not None: self.min_detections = int(self.min_detections)