修改database_tools中收录题目的一个bug
This commit is contained in:
parent
c4e2305190
commit
d09f034f29
|
|
@ -255,6 +255,7 @@ def AddProblemstoDict(startingid,raworigin,problems,editor,indexdescription,thed
|
||||||
problemindex += 1
|
problemindex += 1
|
||||||
else:
|
else:
|
||||||
problemindex = 1
|
problemindex = 1
|
||||||
|
currentsuffix = suffix
|
||||||
origin = raworigin + suffix + indexdescription.strip() + ("" if indexdescription.strip() == "" else str(problemindex))
|
origin = raworigin + suffix + indexdescription.strip() + ("" if indexdescription.strip() == "" else str(problemindex))
|
||||||
newproblem = CreateNewProblem(pid,p.strip(),origin,thedict,GetDate() + "\t" + editor)
|
newproblem = CreateNewProblem(pid,p.strip(),origin,thedict,GetDate() + "\t" + editor)
|
||||||
if "blank" in p:
|
if "blank" in p:
|
||||||
|
|
|
||||||
Reference in New Issue