mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-14 16:01:13 +03:00
fix: format placeholder in remove_empty_directories debug log
The literal string ``"Removed {count} empty directories"`` was passed
to ``logger.debug`` without an ``f`` prefix, so the ``{count}``
placeholder is emitted verbatim instead of being substituted. Convert
the call to an f-string so the count is logged.
This commit is contained in:
parent
4ff7ab96dc
commit
96648b43a2
@ -94,7 +94,7 @@ def remove_empty_directories(root: Path, paths: Iterable[Path]) -> None:
|
|||||||
|
|
||||||
paths = parents
|
paths = parents
|
||||||
|
|
||||||
logger.debug("Removed {count} empty directories")
|
logger.debug(f"Removed {count} empty directories")
|
||||||
|
|
||||||
|
|
||||||
def sync_recordings(
|
def sync_recordings(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user