Skip to content

Commit 27cd12d

Browse files
committed
fix:confort ruff
1 parent 5acaf34 commit 27cd12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsers/excel_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _extract_sheet_images(self, sheet: Worksheet) -> list[DocumentData]:
184184
sheet_images: list[DocumentData] = []
185185

186186
images = getattr(sheet, '_images', None)
187-
if not images or not isinstance(images, (list, tuple)):
187+
if not images or not isinstance(images, list|tuple):
188188
return sheet_images
189189

190190
# 收集图片信息

0 commit comments

Comments
 (0)