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: