Skip to content

Commit

Permalink
isAlive -> is_alive
Browse files Browse the repository at this point in the history
isALive is not supported any more.
Issue #66
  • Loading branch information
tvoverbeek committed Feb 10, 2022
1 parent e985242 commit 3d665ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flick/flicklib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d665ba

Please sign in to comment.