def validate_save_dir(self):
<EOL>print('<STR_LIT>'.format(self.workdir))<EOL>if not os.path.isdir(self.workdir):<EOL><INDENT>print('<STR_LIT>'.format(self.workdir))<EOL>os.mkdir(self.workdir)<EOL><DEDENT>target_directory = os.path.join(self.workdir, self.vm_obj.config.instanceUuid)<EOL>print('<STR_LIT>'.format(target_directory))<EOL>if not os.path.isdir(target_directory):<EOL><INDENT>print('<STR_LIT>'.format(target_directory))<EOL>os.mkdir(target_directory)<EOL><DEDENT>return target_directory<EOL>
Validate that the save directory exists, if not, create it
:return: str directory