bug fix with directory
This commit is contained in:
parent
1db182a528
commit
994e71160e
|
@ -171,9 +171,10 @@ class GNet :
|
|||
root = []
|
||||
for loc in path.split(os.sep) :
|
||||
root.append(loc)
|
||||
os.mkdir(os.sep.join(root))
|
||||
if not os.path.exists(os.sep.join(root)) :
|
||||
os.mkdir(os.sep.join(root))
|
||||
|
||||
else:
|
||||
elif not os.path.exists(path):
|
||||
os.mkdir(path)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue