ensure whole tree is made in createdirs
This commit is contained in:
parent
862b39c217
commit
cf0507b82d
3 changed files with 7 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue