mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-17 11:03:02 +03:00
formatting
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user