ensure whole tree is made in createdirs

This commit is contained in:
Kevin Froman 2020-10-22 14:52:49 +00:00
parent 862b39c217
commit cf0507b82d
3 changed files with 7 additions and 10 deletions

View file

@ -32,7 +32,7 @@ def create_dirs():
filepaths.contacts_location, filepaths.export_location]
for path in gen_dirs:
if not os.path.exists(path):
os.mkdir(path)
os.makedirs(path)
os.chmod(home, stat.S_IRWXU)