修改database_tools中收录题目的一个bug

This commit is contained in:
wangweiye7840 2023-11-09 08:01:04 +08:00
parent c4e2305190
commit d09f034f29
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ def AddProblemstoDict(startingid,raworigin,problems,editor,indexdescription,thed
problemindex += 1
else:
problemindex = 1
currentsuffix = suffix
origin = raworigin + suffix + indexdescription.strip() + ("" if indexdescription.strip() == "" else str(problemindex))
newproblem = CreateNewProblem(pid,p.strip(),origin,thedict,GetDate() + "\t" + editor)
if "blank" in p: