Skip to content

Commit

Permalink
Update zip_deploy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Feb 20, 2024
1 parent 3f75633 commit d97f525
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion moonraker/components/update_manager/zip_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ def _extract_release(
if os.path.isfile(extracted_path):
unix_attributes = zip_entry.external_attr >> 16
if unix_attributes & S_IXUSR:
os.chmod(extracted_path, os.stat(extracted_path).st_mode | S_IXUSR)
os.chmod(extracted_path,
os.stat(extracted_path).st_mode | S_IXUSR)
# Move temporary files back into
for src_path in persist_dir.iterdir():
dest_path = self.path.joinpath(src_path.name)
Expand Down

0 comments on commit d97f525

Please sign in to comment.