fix typing

This commit is contained in:
Josh Hawkins 2026-03-20 18:50:18 -05:00
parent ceab8e5d20
commit 4076bdf407

View File

@ -529,7 +529,7 @@ class FrigateApp:
if not hasattr(self, attr):
continue
def on_restart(proc: FrigateProcess, _attr=attr, _key=key) -> None:
def on_restart(proc: FrigateProcess, _attr: str = attr, _key: str = key) -> None:
setattr(self, _attr, proc)
self.processes[_key] = proc.pid or 0