From 2991b44c5614420c75f2eef004f21b7f9ab5cd5c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 5 Jan 2022 10:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BDbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/daoru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safesite/daoru.py b/safesite/daoru.py index 1ca54b61..45975c82 100644 --- a/safesite/daoru.py +++ b/safesite/daoru.py @@ -75,7 +75,7 @@ def drquestions(companyid,path,userid): notinlist = [] while sheet['c'+str(i)].value!=None: type = sheet['a'+str(i)].value.replace(' ', '') - cate = str(sheet['b'+str(i)]).value.replace(' ', '') + cate = sheet['b'+str(i)].value.replace(' ', '') title = sheet['c'+str(i)].value answer = {} if sheet['d'+str(i)].value: