From 487795fec41f73bb94486cbe7fff00f51678e5e1 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Sat, 21 Dec 2024 22:38:17 +0100 Subject: [PATCH] Use communicate() over wait() --- facefusion/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facefusion/download.py b/facefusion/download.py index 43452c83..530c06b0 100644 --- a/facefusion/download.py +++ b/facefusion/download.py @@ -60,7 +60,7 @@ def get_static_download_size(url : str) -> int: def ping_static_url(url : str) -> bool: commands = [ '-I', url ] process = open_curl(commands) - process.wait() + process.communicate() return process.returncode == 0