Leave dashes in place
This commit is contained in:
parent
fe1c4b27ba
commit
71f41a62fd
@ -10,6 +10,8 @@ for file in argv[1:]:
|
||||
''.join(ch for ch in file
|
||||
if ch.isalnum()
|
||||
or ch is ' '
|
||||
or ch is '.')
|
||||
or ch is '.'
|
||||
or ch is '-') # dashes are ok
|
||||
)
|
||||
.replace(' ', '_'))
|
||||
.replace(' ', '_'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user