fix issue

pull/360/head
vapao 2021-07-28 13:29:58 +08:00
parent fe5175a838
commit 7a30812498
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def post_import(request):
for i, row in enumerate(ws.rows):
if i == 0: # 第1行是表头 略过
continue
if not all([row[x].value for x in range(5)]):
if not all([row[x].value for x in range(4)]):
summary['invalid'].append(i)
continue
data = AttrDict(