diff --git a/scripts/pmt_rates.py b/scripts/pmt_rates.py
index f2e9882e73832eece7889075d1194aaf2798a121..e1b440612d639d03781143aec8501c03e4326289 100755
--- a/scripts/pmt_rates.py
+++ b/scripts/pmt_rates.py
@@ -168,19 +168,17 @@ def main():
     detector = kp.hardware.Detector(det_id=det_id)
 
     pipe = kp.Pipeline(timeit=True)
-    pipe.attach(
-        kp.io.ch.CHPump,
-        host=ligier_ip,
-        port=ligier_port,
-        tags='IO_MONIT',
-        timeout=60 * 60 * 24 * 7,
-        max_queue=2000)
-    pipe.attach(
-        PMTRates,
-        detector=detector,
-        du=du,
-        interval=interval,
-        plot_path=plot_path)
+    pipe.attach(kp.io.ch.CHPump,
+                host=ligier_ip,
+                port=ligier_port,
+                tags='IO_MONIT',
+                timeout=60 * 60 * 24 * 7,
+                max_queue=2000)
+    pipe.attach(PMTRates,
+                detector=detector,
+                du=du,
+                interval=interval,
+                plot_path=plot_path)
     pipe.drain()