mirror of
https://github.com/happycola233/tchMaterial-parser.git
synced 2026-10-21 00:37:31 +08:00
Update tchMaterial-parser.pyw
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user