diff options
Diffstat (limited to 'uio.py')
-rw-r--r-- | uio.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,10 @@ class FileSystem: def set_type(self, type): if type == 'profile': self.environment = './.uprofile/' + def create_dir(self, target): + """Recursively creates directories""" + if not os.path.exists(target): + os.makedirs(target) def prepare_environment(self): if not os.path.exists(self.environment): |