diff --git a/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py b/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py index 89505750154..8d67642b8d8 100644 --- a/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py +++ b/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py @@ -121,7 +121,7 @@ def logError(self, errStr, varMsg=""): def beginExecution(self): """Reload the configurations before every cycle.""" - self.setup = self.am_getOption("Setup", self.setup) + self.setup = gConfig.getValue("/DIRAC/Setup", self.setup) self.enabled = self.am_getOption("EnableFlag", self.enabled) self.restartAgents = self.am_getOption("RestartAgents", self.restartAgents) self.restartExecutors = self.am_getOption("RestartExecutors", self.restartExecutors)