Leave underscores in place (previously they were omitted)

This commit is contained in:
Kjistóf 2016-12-11 10:19:34 +01:00 committed by Kristóf Tóth
parent 71f41a62fd
commit ad1d8b4628

View File

@ -11,6 +11,7 @@ for file in argv[1:]:
if ch.isalnum() if ch.isalnum()
or ch is ' ' or ch is ' '
or ch is '.' or ch is '.'
or ch is '_' # do not ruin previous work
or ch is '-') # dashes are ok or ch is '-') # dashes are ok
) )
.replace(' ', '_')) .replace(' ', '_'))