diff --git a/src/DIRAC/WorkloadManagementSystem/Service/PilotManagerHandler.py b/src/DIRAC/WorkloadManagementSystem/Service/PilotManagerHandler.py index c56d7f654e2..3848105f73f 100644 --- a/src/DIRAC/WorkloadManagementSystem/Service/PilotManagerHandler.py +++ b/src/DIRAC/WorkloadManagementSystem/Service/PilotManagerHandler.py @@ -34,9 +34,7 @@ def initializeHandler(cls, serviceInfoDict): except RuntimeError as excp: return S_ERROR(f"Can't connect to DB: {excp}") - # classic or remote first ? - opsHelper = Operations(vo=vo, setup=self.setup) - uploadPath = opsHelper.getValue("Pilot/UploadPath", "") + # prepare remote pilot plugin initialization defaultOption, defaultClass = "DownloadPlugin", "FileCacheDownloadPlugin" cls.configValue = getServiceOption(serviceInfoDict, defaultOption, defaultClass)