def METHOD_NAME(self):
    path = self.settings.get_data_folder_path()
    if not os.path.exists(path):
        try:
            os.makedirs(path)
        except OSError as e:
            log.error('Failed to create data folder! Error: %s', e)