Update frigate/log.py

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
Blake Blackshear 2023-02-03 19:25:08 -06:00 committed by GitHub
parent 57b3a37fd7
commit d4aa92136d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ def log_process(log_queue: Queue) -> None:
stop_event = mp.Event()
def receiveSignal(signalNumber, frame):
def receiveSignal(signalNumber: int, frame: Optional[FrameType]):
stop_event.set()
signal.signal(signal.SIGTERM, receiveSignal)