Fix a bug where script would crash due to paths being normalised
This commit is contained in:
parent
00b39bb305
commit
fcf06ef580
@ -20,9 +20,8 @@ for path in argv[1:]:
|
|||||||
joinpath
|
joinpath
|
||||||
(
|
(
|
||||||
dir,
|
dir,
|
||||||
''.join(ch for ch in file
|
''.join(ch for ch in file.replace(' ', '_')
|
||||||
if ch.isalnum()
|
if ch.isalnum()
|
||||||
or ch in whitelist)
|
or ch in whitelist)
|
||||||
)
|
)
|
||||||
)
|
))
|
||||||
.replace(' ', '_'))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user