diff --git a/frigate/app.py b/frigate/app.py index a6fa13ad17..be1ebe46b6 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -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