diff --git a/monkey/infection_monkey/utils/propagation.py b/monkey/infection_monkey/utils/propagation.py index 568def5d5..ed9567c26 100644 --- a/monkey/infection_monkey/utils/propagation.py +++ b/monkey/infection_monkey/utils/propagation.py @@ -1,2 +1,2 @@ def should_propagate(config: dict, depth: int) -> bool: - return config["config"]["depth"] < depth + return config["config"]["depth"] > depth