mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
filenamify: replace two dots with one
This commit is contained in:
parent
16af7a3111
commit
29809470c8
@ -50,7 +50,7 @@ def filenamify(title):
|
||||
title = re.sub(r"\s+", ".", title)
|
||||
title = re.sub(r"\.-\.", "-", title)
|
||||
|
||||
return title
|
||||
return title.replace("..", ".")
|
||||
|
||||
|
||||
def exclude(config, name):
|
||||
|
Loading…
Reference in New Issue
Block a user