Skip to content

Commit 0c00397

Browse files
authored
Change isAlive() to is_alive()
1 parent 5d03c62 commit 0c00397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/streaming_video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def inner_callback(img):
1818
# t in this case is a thread
1919
t = c.open_video_stream(callback=inner_callback)
2020

21-
print(t.isAlive())
21+
print(t.is_alive())
2222
while True:
23-
if not t.isAlive():
23+
if not t.is_alive():
2424
print("continuing")
2525
break
2626
# stop the stream

0 commit comments

Comments
 (0)