From 9af1ea9fc0685ebe5a58fb5acf6d355416821d63 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 24 Jun 2021 11:26:16 +1000 Subject: [PATCH] Bug fix - Check 'minutes_between_check' is set --- backend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/__init__.py b/backend/__init__.py index 91124e5e..ce9ac721 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -856,7 +856,7 @@ def ticker_thread_check_time_launch_checks(): for uuid, watch in datastore.data['watching'].items(): # If they supplied an individual entry minutes to threshold. - if 'minutes_between_check' in watch: + if 'minutes_between_check' in watch and watch['minutes_between_check'] is not None: max_time = watch['minutes_between_check'] * 60 else: # Default system wide.