From 8278f4260f1d1d3386a5129deed81f7596292d18 Mon Sep 17 00:00:00 2001 From: George Tsiamasiotis Date: Mon, 23 Sep 2024 22:34:08 +0300 Subject: [PATCH] Make mypy happy --- frigate/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/log.py b/frigate/log.py index b1f7c9af8..ec60b1b71 100644 --- a/frigate/log.py +++ b/frigate/log.py @@ -74,7 +74,7 @@ class log_thread(AbstractContextManager, ContextDecorator): # happens while an internal lock is held, the stdout/err flush can cause a deadlock. # # https://github.com/python/cpython/issues/91776 -def reopen_std_streams(): +def reopen_std_streams() -> None: sys.stdout = os.fdopen(1, "w") sys.stderr = os.fdopen(2, "w")