mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
avoid null error
This commit is contained in:
parent
753df31fa6
commit
b87ec752cf
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user