diff --git a/adaptive_learning_manager/service/AdaptationManager.py b/adaptive_learning_manager/service/AdaptationManager.py index 2608b8a..f8a4935 100644 --- a/adaptive_learning_manager/service/AdaptationManager.py +++ b/adaptive_learning_manager/service/AdaptationManager.py @@ -61,8 +61,6 @@ def analyse(self): def plan(self, suitable_configs): if len(suitable_configs) == 0: return None - elif len(suitable_configs) == 1: - return suitable_configs[0] else: return goals.pick_best_config(suitable_configs, self.current_context['goal'])