mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
avoid null error
This commit is contained in:
parent
753df31fa6
commit
b87ec752cf
@ -230,7 +230,7 @@ class MqttConfig():
|
|||||||
class SaveClipsRetainConfig():
|
class SaveClipsRetainConfig():
|
||||||
def __init__(self, global_config, config):
|
def __init__(self, global_config, config):
|
||||||
self._default = config.get('default', global_config.get('default'))
|
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
|
@property
|
||||||
def default(self):
|
def default(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user