diff --git a/apps/common/handle/impl/zip_split_handle.py b/apps/common/handle/impl/zip_split_handle.py index 76af4485a..8d931c9e7 100644 --- a/apps/common/handle/impl/zip_split_handle.py +++ b/apps/common/handle/impl/zip_split_handle.py @@ -126,7 +126,7 @@ class ZipSplitHandle(BaseSplitHandle): files = zip_ref.namelist() # 读取压缩包中的文件内容 for file in files: - if file.endswith('/'): + if file.endswith('/') or file.startswith('__MACOSX'): continue with zip_ref.open(file) as f: # 对文件内容进行处理