mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-30 02:27:41 +03:00
Formatting
This commit is contained in:
parent
686fdef665
commit
8c511083ff
@ -378,7 +378,9 @@ class WebPushClient(Communicator):
|
|||||||
message = f"Detected on {titlecase(camera.replace('_', ' '))}"
|
message = f"Detected on {titlecase(camera.replace('_', ' '))}"
|
||||||
|
|
||||||
if ended:
|
if ended:
|
||||||
logger.debug(f"Sending a notification with state {state} and message {message}")
|
logger.debug(
|
||||||
|
f"Sending a notification with state {state} and message {message}"
|
||||||
|
)
|
||||||
|
|
||||||
# if event is ongoing open to live view otherwise open to recordings view
|
# if event is ongoing open to live view otherwise open to recordings view
|
||||||
direct_url = f"/review?id={reviewId}" if ended else f"/#{camera}"
|
direct_url = f"/review?id={reviewId}" if ended else f"/#{camera}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user