From d09f034f294b536985fb42e7ab9ec325c52d5bdd Mon Sep 17 00:00:00 2001 From: wangweiye7840 Date: Thu, 9 Nov 2023 08:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9database=5Ftools=E4=B8=AD?= =?UTF-8?q?=E6=94=B6=E5=BD=95=E9=A2=98=E7=9B=AE=E7=9A=84=E4=B8=80=E4=B8=AA?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/database_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/工具v2/database_tools.py b/工具v2/database_tools.py index 3e9bcc09..367ef7cf 100644 --- a/工具v2/database_tools.py +++ b/工具v2/database_tools.py @@ -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: