Commit b73a8f7e authored by Joel Collins's avatar Joel Collins
Browse files

Recursive creation of missing directories

parent cf96fa0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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."""