From f90341cc5d62b6e522d9a250cbf736994c0a80f4 Mon Sep 17 00:00:00 2001 From: George Waters Date: Mon, 29 Apr 2024 00:26:12 -0400 Subject: [PATCH] Pacify mypy --- delocate/fuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delocate/fuse.py b/delocate/fuse.py index 2ce3ed74..99186d76 100644 --- a/delocate/fuse.py +++ b/delocate/fuse.py @@ -104,7 +104,7 @@ def fuse_trees( lib_exts : sequence, optional filename extensions for libraries """ - for from_dirpath, dirnames, filenames in os.walk(from_tree): + for from_dirpath, dirnames, filenames in os.walk(Path(from_tree)): to_dirpath = pjoin(to_tree, relpath(from_dirpath, from_tree)) # Copy any missing directories in to_path for dirname in tuple(dirnames):