From 1ea43e806dd0c8d8569e2893bd2efec88ef0d6e1 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Thu, 11 May 2023 20:30:18 -0500 Subject: [PATCH] Fix file permissions mask --- install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.py b/install.py index 0a1ddf2..5defa64 100755 --- a/install.py +++ b/install.py @@ -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__':