From 8121899d32f631c9a8d75bf8dcc5b3b43a5d7995 Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Thu, 6 Nov 2025 10:54:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DToolFile=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=9E=9A=E4=B8=BE=E5=87=BD=E6=95=B0=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/File.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/File.py b/Runtime/File.py index 64cdea1..5adfbec 100644 --- a/Runtime/File.py +++ b/Runtime/File.py @@ -504,12 +504,11 @@ class ToolFile(BaseModel): return result def DirWalk( self, - top, topdown: bool = True, onerror: Optional[Callable] = None, followlinks: bool = False ) -> Iterator[tuple[dir_name_type, list[dir_name_type], list[file_name_type]]]: - return os.walk(self.OriginFullPath, top=top, topdown=topdown, onerror=onerror, followlinks=followlinks) + return os.walk(self.OriginFullPath, topdown=topdown, onerror=onerror, followlinks=followlinks) def bool(self):