From 3d665bac0a0344da4a27bc9f7f362b3f46122504 Mon Sep 17 00:00:00 2001 From: Ton van Overbeek Date: Thu, 10 Feb 2022 08:00:20 +0100 Subject: [PATCH] isAlive -> is_alive isALive is not supported any more. Issue #66 --- flick/flicklib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flick/flicklib.py b/flick/flicklib.py index 9eac795..369375e 100644 --- a/flick/flicklib.py +++ b/flick/flicklib.py @@ -100,12 +100,12 @@ def __init__(self): self.daemon = True def start(self): - if self.isAlive() == False: + if self.is_alive() == False: self.stop_event.clear() threading.Thread.start(self) def stop(self): - if self.isAlive() == True: + if self.is_alive() == True: # set event to signal thread to terminate self.stop_event.set() # block calling thread until thread really has terminated