From 3d8f2c2ce29921d1f60dc4cd54ac83011b389ceb Mon Sep 17 00:00:00 2001 From: CI Bot Date: Mon, 5 Oct 2026 08:36:18 +0000 Subject: [PATCH] style: auto-format with black + isort + ruff + prettier [skip ci-format-check] --- apps/worker/worker_app/tasks/viral_video.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/worker/worker_app/tasks/viral_video.py b/apps/worker/worker_app/tasks/viral_video.py index f261717ba..d379aa631 100644 --- a/apps/worker/worker_app/tasks/viral_video.py +++ b/apps/worker/worker_app/tasks/viral_video.py @@ -789,6 +789,7 @@ def _analyze_single_image( # 不是 XML 也不是 dict:尝试当作纯 JSON 字符串再解析一次 try: import json as _j2 + _jd = _j2.loads(raw) if isinstance(_jd, dict): return _normalize(_jd, source)