Skip to content

Commit dd55e12

Browse files
Add __MACOSX bug fix (#2)
1 parent 0ce3043 commit dd55e12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

skillsnetwork/core.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def _is_file_to_symlink(path: Path) -> bool:
131131
:param path: path to check.
132132
:returns: True if file should be symlinked, False otherwise.
133133
"""
134-
return not path.name.startswith("._") # Don't symlink "._" junk
134+
# Don't symlink "._" junk
135+
return not (path.name.startswith("._") or path.name in ["__MACOSX"])
135136

136137

137138
async def download(

0 commit comments

Comments
 (0)