Fix file permissions mask
This commit is contained in:
parent
de61971cca
commit
1ea43e806d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def main():
|
|||
output_file.write(output)
|
||||
|
||||
# Copy permissions from original file
|
||||
output_path.chmod(template_path.stat().st_mode & 0x777)
|
||||
output_path.chmod(template_path.stat().st_mode & 0o777)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Reference in a new issue