From 3b6ea560584d038b8f9451f6ac4be31ebb799e5f Mon Sep 17 00:00:00 2001 From: pcain-usgs <pcain@usgs.gov> Date: Tue, 24 Nov 2020 15:59:03 -0700 Subject: [PATCH] Set realtime to false with invalid value --- geomagio/Controller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 620f8307..80195876 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -240,6 +240,9 @@ class Controller(object): rename_input_channel: list of input channel renames rename_output_channel: list of output channel renames """ + # ensure realtime is a valid value: + if realtime <= 0: + realtime = False algorithm = self._algorithm input_channels = input_channels or algorithm.get_input_channels() output_channels = output_channels or algorithm.get_output_channels() -- GitLab