From 27f25aac580405ab2445dc2adee9dd4a12f0685b Mon Sep 17 00:00:00 2001
From: stedif <stefano.difrischia@inaf.it>
Date: Fri, 5 Aug 2022 15:52:28 +0200
Subject: [PATCH] L2SS-863: fix bug

---
 .../tangostationcontrol/statistics_writer/hdf5_writer.py      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/statistics_writer/hdf5_writer.py b/tangostationcontrol/tangostationcontrol/statistics_writer/hdf5_writer.py
index 8922f3d3a..acfa3f9f7 100644
--- a/tangostationcontrol/tangostationcontrol/statistics_writer/hdf5_writer.py
+++ b/tangostationcontrol/tangostationcontrol/statistics_writer/hdf5_writer.py
@@ -273,7 +273,7 @@ class sst_hdf5_writer(hdf5_writer):
 
 class bst_hdf5_writer(hdf5_writer):
     def __init__(self, new_file_time_interval, file_location, decimation_factor):
-        super().__init__(new_file_time_interval, file_location, hdf5_writer.BST_MODE, decimation_factor)
+        super().__init__(new_file_time_interval, file_location, hdf5_writer.BST_MODE, decimation_factor, device=None)
 
     def decoder(self, packet):
         return BSTPacket(packet)
@@ -288,7 +288,7 @@ class bst_hdf5_writer(hdf5_writer):
 
 class xst_hdf5_writer(hdf5_writer):
     def __init__(self, new_file_time_interval, file_location, decimation_factor, subband_index):
-        super().__init__(new_file_time_interval, file_location, hdf5_writer.XST_MODE, decimation_factor)
+        super().__init__(new_file_time_interval, file_location, hdf5_writer.XST_MODE, decimation_factor, device=None)
         self.subband_index = subband_index
 
     def decoder(self, packet):
-- 
GitLab