More Python 3.9 fixing (can't wait for Python 10.7)

This commit is contained in:
Miroslav Stampar
2020-02-28 14:44:27 +01:00
parent 013af3235e
commit 1023da405a
3 changed files with 3 additions and 3 deletions

View File

@@ -175,7 +175,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
while alive:
alive = False
for thread in threads:
if thread.isAlive():
if thread.is_alive():
alive = True
time.sleep(0.1)