We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127ca4b commit 2de44dbCopy full SHA for 2de44db
1 file changed
Lib/zipapp.py
@@ -79,7 +79,7 @@ def _copy_archive(archive, new_archive, interpreter=None):
79
dst.write(first_2)
80
shutil.copyfileobj(src, dst)
81
82
- if interpreter and isinstance(new_archive, str):
+ if interpreter and isinstance(new_archive, (str, os.PathLike)):
83
_make_executable(new_archive)
84
85
0 commit comments