def fixFormatting(s, spaceToken):
	
	for i in string.punctuation:
		if(i != '-' and i != spaceToken):
			s = s.replace(i, '')
	return s.lower().lstrip(spaceToken).strip().replace(' ', spaceToken)
Special character fix for filesystem paths.
dataset/ETHPy150Open jiaweihli/manga_downloader/src/util.py/fixFormatting