From b87ec752cf965dc6abe15a87577b87d85c1cc491 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 25 Nov 2020 20:33:33 -0600 Subject: [PATCH] avoid null error --- frigate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index d706bb7c5..93d286cac 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -230,7 +230,7 @@ class MqttConfig(): class SaveClipsRetainConfig(): def __init__(self, global_config, config): self._default = config.get('default', global_config.get('default')) - self._objects = config.get('objects', global_config.get('objects')) + self._objects = config.get('objects', global_config.get('objects', {})) @property def default(self):