diff --git a/tangostationcontrol/tangostationcontrol/devices/apsct.py b/tangostationcontrol/tangostationcontrol/devices/apsct.py
index 38beb7aee2c3c5e8df4501f49e933c04d9261ff3..5fee763574c6d31166ee8064d88479b88d150d02 100644
--- a/tangostationcontrol/tangostationcontrol/devices/apsct.py
+++ b/tangostationcontrol/tangostationcontrol/devices/apsct.py
@@ -96,8 +96,7 @@ class APSCT(opcua_device):
                 self.read_attribute("APSCT_PLL_200MHz_locked_R") and self.read_attribute("APSCT_PLL_200MHz_error_R"),
                 self.read_attribute("APSCT_PLL_160MHz_locked_R") and self.read_attribute("APSCT_PLL_160MHz_error_R")]
         for e in errors: 
-            if e is True:
-                return True
+            if e is True: return True
         return False
 
     APSCT_TEMP_error_R            = attribute(dtype=bool)