mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 00:11:15 +03:00
fix typing
This commit is contained in:
parent
ceab8e5d20
commit
4076bdf407
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user