mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-21 07:38:22 +03:00
formatting
This commit is contained in:
parent
b657f04d0e
commit
3c3cf11da4
@ -569,7 +569,9 @@ class Dispatcher:
|
||||
logger.error("Profile manager not initialized")
|
||||
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)
|
||||
if err:
|
||||
logger.error("Failed to activate profile: %s", err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user