Recursive creation of missing directories
This commit is contained in:
parent
cf96fa0ad2
commit
b73a8f7ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class StreamObject(object):
|
|||
|
||||
# Create folder and file
|
||||
if not os.path.exists(self.filefolder):
|
||||
os.mkdir(self.filefolder)
|
||||
os.makedirs(self.filefolder)
|
||||
|
||||
def split_file_path(self, filepath):
|
||||
"""Takes a full file path, and splits it into separated class properties."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue