From c9552d23199d7eccd89684fd7410a4f2c547d33c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 14 May 2024 12:24:03 +0200 Subject: [PATCH] could be 0 or None, same thing --- changedetectionio/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/store.py b/changedetectionio/store.py index c955fb12..884c617a 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -879,7 +879,7 @@ class ChangeDetectionStore: if self.__data["watching"][uuid]['time_between_check'] == self.__data['settings']['requests']['time_between_check']: # What the old logic was, which was pretty confusing self.__data["watching"][uuid]['time_between_check_use_default'] = True - elif all(value is None for value in self.__data["watching"][uuid]['time_between_check'].values()): + elif all(value is None or value == 0 for value in self.__data["watching"][uuid]['time_between_check'].values()): self.__data["watching"][uuid]['time_between_check_use_default'] = True else: # Something custom here