diff --git a/TransformationSystem/Client/TaskManager.py b/TransformationSystem/Client/TaskManager.py index a711c0b9e63..1f6afddb677 100644 --- a/TransformationSystem/Client/TaskManager.py +++ b/TransformationSystem/Client/TaskManager.py @@ -827,8 +827,8 @@ def _checkSickTransformations(self, transID): """ Check if the transformation is in the transformations to be processed at Hospital or Clinic """ transID = int(transID) - clinicPath = "Hospital/Transformations" - if transID in set(int(x) for x in self.opsH.getValue(clinicPath, [])): + clinicPath = "Hospital" + if transID in set(int(x) for x in self.opsH.getValue(os.path.join(clinicPath, "Transformations"), [])): return clinicPath if "Clinics" in self.opsH.getSections("Hospital").get('Value', []): basePath = os.path.join("Hospital", "Clinics")