updated according to https://bugs.python.org/issue37804
This commit is contained in:
@@ -58,7 +58,7 @@ class Task(BaseTask):
|
||||
def status(self):
|
||||
if self.thread.ident is None:
|
||||
return "ready"
|
||||
if self.thread.isAlive():
|
||||
if self.thread.is_alive():
|
||||
return "running"
|
||||
return "done"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user