Formatting

This commit is contained in:
Nick Mowen 2023-10-17 07:58:06 -06:00
parent 76112b1e63
commit f359715341
2 changed files with 3 additions and 2 deletions

View File

@ -268,4 +268,3 @@ def get_tomorrow_at_2() -> datetime.datetime:
tomorrow = datetime.datetime.now() + datetime.timedelta(days=1)
tomorrow.replace(hour=2, minute=0, second=0)
return tomorrow

View File

@ -26,7 +26,9 @@ logger = logging.getLogger(__name__)
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."""
# get grid from db if available
try: