Fix upload error not showing.

Support str type category.
This commit is contained in:
Xuwznln
2025-12-23 14:50:35 +08:00
parent d0ac452405
commit b0804d939c
3 changed files with 7 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ def upload_workflow(
if result.get("code") == 0:
data = result.get("data", {})
print_status("工作流上传成功!", "success")
print_status(f"工作流上传成功!{data}", "success")
print_status(f" - UUID: {data.get('uuid', 'N/A')}", "info")
print_status(f" - 名称: {data.get('name', 'N/A')}", "info")
else: