新题收录时去掉每行前的多余空格
This commit is contained in:
parent
e750eb6243
commit
29d874a178
|
|
@ -548,6 +548,7 @@ def AddProblemstoDict2024nocommit(startingid,raworigin,problems,editor,indexed,c
|
|||
for p_and_suffix_and_meta in problems:
|
||||
try:
|
||||
p, suffix, meta = p_and_suffix_and_meta
|
||||
p = re.sub(r"\n\s+","\n",p)
|
||||
pid = str(id).zfill(6)
|
||||
if suffix == currentsuffix:
|
||||
problemindex += 1
|
||||
|
|
|
|||
Reference in New Issue