diff --git a/tangostationcontrol/tangostationcontrol/statistics_writer/hdf5_writer.py b/tangostationcontrol/tangostationcontrol/statistics_writer/hdf5_writer.py index 8922f3d3a0628104bd52c913ac3b2817aaa351ea..acfa3f9f734e84db78400afa8d1f52a9a14bb901 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):