Update tchMaterial-parser.pyw

This commit is contained in:
Liam Wei
2025-06-04 00:29:41 +09:00
committed by GitHub
parent fbe2f7b28f
commit ceb026ffd4
+1 -1
View File
@@ -391,7 +391,7 @@ class resource_helper: # 获取网站上资源的数据
if not temp_hier["children"]:
temp_hier["children"] = {}
book["display_name"] = book["title"] if "title" in book else book["name"] if "name" in book else f"(未知电子课本 {book["id"]})"
book["display_name"] = book["title"] if "title" in book else book["name"] if "name" in book else f"(未知电子课本 {book['id']})"
temp_hier["children"][book["id"]] = book