mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 23:25:25 +03:00
Do not access log record's msg directly
This commit is contained in:
parent
2cbce00d8b
commit
3b72375b53
@ -22,7 +22,9 @@ LOG_HANDLER.setFormatter(
|
||||
)
|
||||
|
||||
LOG_HANDLER.addFilter(
|
||||
lambda record: not record.msg.startswith("You are using a scalar distance function")
|
||||
lambda record: not record.getMessage().startswith(
|
||||
"You are using a scalar distance function"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user