mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Formatting
This commit is contained in:
parent
76112b1e63
commit
f359715341
@ -268,4 +268,3 @@ def get_tomorrow_at_2() -> datetime.datetime:
|
|||||||
tomorrow = datetime.datetime.now() + datetime.timedelta(days=1)
|
tomorrow = datetime.datetime.now() + datetime.timedelta(days=1)
|
||||||
tomorrow.replace(hour=2, minute=0, second=0)
|
tomorrow.replace(hour=2, minute=0, second=0)
|
||||||
return tomorrow
|
return tomorrow
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,9 @@ logger = logging.getLogger(__name__)
|
|||||||
GRID_SIZE = 8
|
GRID_SIZE = 8
|
||||||
|
|
||||||
|
|
||||||
def get_camera_regions_grid(name: str, detect: DetectConfig) -> list[list[dict[str, any]]]:
|
def get_camera_regions_grid(
|
||||||
|
name: str, detect: DetectConfig
|
||||||
|
) -> list[list[dict[str, any]]]:
|
||||||
"""Build a grid of expected region sizes for a camera."""
|
"""Build a grid of expected region sizes for a camera."""
|
||||||
# get grid from db if available
|
# get grid from db if available
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user