mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-26 01:58:21 +03:00
formatting
This commit is contained in:
parent
b657f04d0e
commit
3c3cf11da4
@ -569,7 +569,9 @@ class Dispatcher:
|
|||||||
logger.error("Profile manager not initialized")
|
logger.error("Profile manager not initialized")
|
||||||
return
|
return
|
||||||
|
|
||||||
profile_name = payload.strip() if payload.strip() not in ("", "none", "None") else None
|
profile_name = (
|
||||||
|
payload.strip() if payload.strip() not in ("", "none", "None") else None
|
||||||
|
)
|
||||||
err = self.profile_manager.activate_profile(profile_name)
|
err = self.profile_manager.activate_profile(profile_name)
|
||||||
if err:
|
if err:
|
||||||
logger.error("Failed to activate profile: %s", err)
|
logger.error("Failed to activate profile: %s", err)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user