perf: 优化 Record 对象的文件和 URL 字段赋值逻辑

This commit is contained in:
Raven95676
2025-05-14 20:05:38 +08:00
parent 75c3d8abbd
commit e6981290bc
@@ -208,8 +208,8 @@ class ResultDecorateStage(Stage):
new_chain.append(
Record(
file=url if url else audio_path,
url=url if url else audio_path,
file=url or audio_path,
url=url or audio_path,
)
)
if dual_output: