Skip to content

Commit

Permalink
tmp cont
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Feb 27, 2024
1 parent ee102aa commit 5c351c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DIRAC/Core/Utilities/Plotting/TypeLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c351c5

Please sign in to comment.