Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (4 sloc) 201 Bytes
def munge(filename):
for punct in [".","!","$","?",",","(",")"," ","'",'"',"|","#","@","/","\\"]:
filename = filename.replace(punct,"_").encode('ascii','ignore')
return filename