Untitled
public text v1 · immutable # Apply conversion option to final folder
if cfg.replace_dots() and ' ' not in self.final_name:
logging.info('Replacing dots with spaces in %s', self.final_name)
self.final_name = self.final_name.replace('_','.')
if cfg.replace_spaces():
logging.info('Replacing spaces with underscores in %s', self.final_name)
self.final_name = self.final_name.replace(' ','.')