diff --git a/main.py b/main.py index 1051dbc..23c2a0d 100644 --- a/main.py +++ b/main.py @@ -47,6 +47,7 @@ def ffmpeg_api(): # 检测参数类型 error_response, status_code = validate_request(data, "ffmpeg") + assert status_code is not None if error_response: return error_response, status_code # 创建处理进程 @@ -79,6 +80,7 @@ def sanjuuni_api(): # 检测参数类型 error_response, status_code = validate_request(data, "sanjuuni") + assert status_code is not None if error_response: return error_response, status_code # 创建处理进程