Quick pass to update script for python3
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Feb 2019 15:21:42 +0000 (16:21 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Feb 2019 15:21:42 +0000 (16:21 +0100)
master_unpack.py

index 394a101..ea00f06 100644 (file)
@@ -133,7 +133,7 @@ try:
     f = file(filename, "wb")
 
     shutil.copyfileobj(zf, f)
-    os.chmod(filename, 0644)
+    os.chmod(filename, 0o644)
 
     zf.close()
     z.close()