From 81e9e9f17c903b1e762df4e9dfab4edceaaeacd4 Mon Sep 17 00:00:00 2001 From: jo Date: Sun, 15 Aug 2021 18:47:24 +0200 Subject: [PATCH] Rename isAlive method to is_alive Python 3.9 compatibility fix --- python_apps/pypo/pypo/timeout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/pypo/pypo/timeout.py b/python_apps/pypo/pypo/timeout.py index 3c62773de..c74e08bc1 100644 --- a/python_apps/pypo/pypo/timeout.py +++ b/python_apps/pypo/pypo/timeout.py @@ -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: