From e9a249fb6b358d0cd88779fb522bf264950fe93e Mon Sep 17 00:00:00 2001 From: henryruhs Date: Tue, 31 Mar 2026 18:31:29 +0200 Subject: [PATCH] add meaningful tests --- facefusion/apis/asset_helper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/facefusion/apis/asset_helper.py b/facefusion/apis/asset_helper.py index 28672484..f23d39be 100644 --- a/facefusion/apis/asset_helper.py +++ b/facefusion/apis/asset_helper.py @@ -119,7 +119,8 @@ async def save_asset_files(upload_files : List[UploadFile]) -> List[str]: if media_type == 'video' and await asyncio.to_thread(ffmpeg.sanitize_video, file_format, upload_queue.get, asset_path, api_security_strategy): asset_paths.append(asset_path) - if await upload_task: - process_manager.end() + await upload_task + + process_manager.end() return asset_paths