Skip to content
Snippets Groups Projects
Commit 1c06af9d authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler Committed by Claycomb, Abram Earl
Browse files

Fix miniseed factory default convert_channels

Force miniseed factory constructor to create at least an empty list to
hold list of channels to convert.
parent 9bedc705
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ class MiniSeedFactory(TimeseriesFactory): ...@@ -76,7 +76,7 @@ class MiniSeedFactory(TimeseriesFactory):
self.host = host self.host = host
self.port = port self.port = port
self.write_port = write_port self.write_port = write_port
self.convert_channels = convert_channels self.convert_channels = convert_channels or []
self.write_client = MiniSeedInputClient(self.host, self.write_port) self.write_client = MiniSeedInputClient(self.host, self.write_port)
def get_timeseries(self, starttime, endtime, observatory=None, def get_timeseries(self, starttime, endtime, observatory=None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment