From 0c00397f78ff8b46c18508742b793350b37ce0b0 Mon Sep 17 00:00:00 2001 From: Karl Moos Date: Mon, 7 Dec 2020 03:34:05 -0600 Subject: [PATCH] Change isAlive() to is_alive() --- examples/streaming_video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/streaming_video.py b/examples/streaming_video.py index 27463f8..90dc2a9 100644 --- a/examples/streaming_video.py +++ b/examples/streaming_video.py @@ -18,9 +18,9 @@ def non_blocking(): # t in this case is a thread t = c.open_video_stream(callback=inner_callback) - print(t.isAlive()) + print(t.is_alive()) while True: - if not t.isAlive(): + if not t.is_alive(): print("continuing") break # stop the stream