mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
Formatting
This commit is contained in:
parent
0e87dac646
commit
38de03a56f
@ -343,6 +343,7 @@ class MotionConfig(FrigateBaseModel):
|
||||
def serialize_mask(self, value: Any, info):
|
||||
return self.raw_mask
|
||||
|
||||
|
||||
class RuntimeMotionConfig(MotionConfig):
|
||||
raw_mask: Union[str, List[str]] = ""
|
||||
mask: np.ndarray = None
|
||||
|
||||
@ -1384,7 +1384,7 @@ def end_event(event_id):
|
||||
|
||||
@bp.route("/config")
|
||||
def config():
|
||||
config = current_app.frigate_config.model_dump(mode='json')
|
||||
config = current_app.frigate_config.model_dump(mode="json")
|
||||
|
||||
# remove the mqtt password
|
||||
config["mqtt"].pop("password", None)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user