refine redis connection (#599)

### What problem does this PR solve?

#591 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
KevinHuSh
2024-04-29 08:52:38 +08:00
committed by GitHub
parent 8c07992b6c
commit 8acc01a227
2 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ class Excel(ExcelParser):
cell.value for i,
cell in enumerate(
rows[0]) if i not in missed]
if not headers:continue
data = []
for i, r in enumerate(rows[1:]):
rn += 1