Merge pull request #1293 from jooola/fix/is_alive_method_name

Rename isAlive method to is_alive
This commit is contained in:
Kyle Robbertze 2021-08-15 20:32:36 +02:00 committed by GitHub
commit d55e03a220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def __timeout(func, timeout_duration, default, args, kwargs):
timeout_duration = timeout_duration * 2 timeout_duration = timeout_duration * 2
it.join(timeout_duration) it.join(timeout_duration)
if it.isAlive(): if it.is_alive():
"""Restart Liquidsoap and try the command one more time. If it """Restart Liquidsoap and try the command one more time. If it
fails again then there is something critically wrong...""" fails again then there is something critically wrong..."""
if first_attempt: if first_attempt: