mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Make mypy happy
This commit is contained in:
parent
0a11ed3781
commit
8278f4260f
@ -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")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user