From 53b9830968c4eb6947b8b65dea53455a7c53a26d Mon Sep 17 00:00:00 2001 From: liyubo Date: Wed, 11 Mar 2026 09:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B1=E4=BA=AB=E7=9B=AE=E5=BD=95=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E9=85=8D=E7=BD=AE=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/smb_tool.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/smb_tool.py b/util/smb_tool.py index 8044451..53bf828 100644 --- a/util/smb_tool.py +++ b/util/smb_tool.py @@ -769,7 +769,7 @@ def get_conf(zip_url, user_name, pwd) : dir = '/'.join(new_parts) excel_dir = '' - excel_dir = '/'.join(parts[2:3]) + excel_dir = '/'.join(parts[2:]) for index, part in enumerate(parts, 0) : if part == 'Images' and index - 2 > 2 : excel_dir = '/'.join(parts[2:index-2]) @@ -994,8 +994,9 @@ def main(): } # 配置数据提取 - tmp_conf = get_conf("192.168.110.114/share_File/北碚报送数据/3.25/图像类/C071500109B/Images",'administrator','abc@1234') tmp_conf = get_conf("192.168.110.114/share_File/数据识别/5、报送导出2025年/万盛图像类/图像类",'administrator','abc@1234') + tmp_conf = get_conf("192.168.110.114/share_File/北碚报送数据/3.25/图像类/C071500109B/Images",'administrator','abc@1234') + # 创建扫描器 scanner = SMBScanner(