Fixed ambiguous directory mask

This commit is contained in:
Kevin Peterson
2022-04-28 15:35:10 -05:00
parent cba123e69a
commit 642fcf541d
+1 -1
View File
@@ -22,7 +22,7 @@ def create_file(filename):
dirname = os.path.dirname(filename)
print(dirname)
if not os.path.exists(dirname):
os.makedirs(dirname, 0755)
os.makedirs(dirname, 0o0755)
if not os.path.exists(filename):
fh = open(filename, 'w')
fh.close()