修改添加关联题目函数的一处内容,现不需要删去“待编辑”字样
This commit is contained in:
parent
67bed6f922
commit
4792f4fc58
|
|
@ -293,7 +293,7 @@ def CreateRelatedProblems(links,thedict,filepath,editor): # 根据links关联生
|
||||||
old_id,new_id = item
|
old_id,new_id = item
|
||||||
new_dict[old_id] = thedict[old_id].copy()
|
new_dict[old_id] = thedict[old_id].copy()
|
||||||
new_dict[old_id]["id"] = new_id + "待替换"
|
new_dict[old_id]["id"] = new_id + "待替换"
|
||||||
new_dict[old_id]["content"] = "(待编辑)" + new_dict[old_id]["content"]
|
new_dict[old_id]["content"] = new_dict[old_id]["content"]
|
||||||
new_dict[old_id]["usages"] = []
|
new_dict[old_id]["usages"] = []
|
||||||
new_dict[old_id]["same"] = []
|
new_dict[old_id]["same"] = []
|
||||||
new_dict[old_id]["unrelated"] = []
|
new_dict[old_id]["unrelated"] = []
|
||||||
|
|
|
||||||
Reference in New Issue