From 5c351c5c986b789ffaeaea2acc70fb37356250a9 Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Tue, 27 Feb 2024 08:19:58 +0100 Subject: [PATCH] tmp cont --- src/DIRAC/Core/Utilities/Plotting/TypeLoader.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/DIRAC/Core/Utilities/Plotting/TypeLoader.py b/src/DIRAC/Core/Utilities/Plotting/TypeLoader.py index 28c0aa6905d..a82a41560fd 100644 --- a/src/DIRAC/Core/Utilities/Plotting/TypeLoader.py +++ b/src/DIRAC/Core/Utilities/Plotting/TypeLoader.py @@ -40,9 +40,7 @@ def getTypes(self): It returns all monitoring classes """ if not self.__loaded: - allObjects = ObjectLoader().getObjects("MonitoringSystem.Client.Types", parentClass=self.__parentCls)[ - "Value" - ] + allObjects = ObjectLoader().getObjects(self.__path, parentClass=self.__parentCls)["Value"] for _objectModule, objectClass in allObjects.items(): if objectClass.__name__ not in self.__loaded and objectClass != self.__parentCls: self.__loaded[objectClass.__name__] = objectClass