From 8707f9638e3f4f0d87f412d0bbea8581dcbedfc3 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Mon, 28 Feb 2022 13:17:13 +0100
Subject: [PATCH] L2SS-627: Linting regression after merging in master: fix
 B008 Do not perform function calls in argument defaults.

---
 tangostationcontrol/tangostationcontrol/devices/beam.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tangostationcontrol/tangostationcontrol/devices/beam.py b/tangostationcontrol/tangostationcontrol/devices/beam.py
index 1f24e804a..d62a49e36 100644
--- a/tangostationcontrol/tangostationcontrol/devices/beam.py
+++ b/tangostationcontrol/tangostationcontrol/devices/beam.py
@@ -156,7 +156,7 @@ class Beam(lofar_device):
         else:
             self.HBAT_beam_tracker.stop()
 
-    def _HBAT_delays(self, pointing_direction: numpy.array, timestamp: datetime.datetime = datetime.datetime.now()):
+    def _HBAT_delays(self, pointing_direction: numpy.array, timestamp: datetime.datetime = None):
         """
         Calculate the delays (in seconds) based on the pointing list and the timestamp
         """
-- 
GitLab