Rename isAlive method to is_alive
Python 3.9 compatibility fix
This commit is contained in:
parent
a0b6f2e8c3
commit
81e9e9f17c
|
@ -21,7 +21,7 @@ def __timeout(func, timeout_duration, default, args, kwargs):
|
|||
timeout_duration = timeout_duration * 2
|
||||
it.join(timeout_duration)
|
||||
|
||||
if it.isAlive():
|
||||
if it.is_alive():
|
||||
"""Restart Liquidsoap and try the command one more time. If it
|
||||
fails again then there is something critically wrong..."""
|
||||
if first_attempt:
|
||||
|
|
Loading…
Reference in New Issue