1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 23:24:16 +01:00

filenamify: replace two dots with one

This commit is contained in:
Johan Andersson 2022-08-28 23:22:04 +02:00
parent 16af7a3111
commit 29809470c8

View File

@ -50,7 +50,7 @@ def filenamify(title):
title = re.sub(r"\s+", ".", title) title = re.sub(r"\s+", ".", title)
title = re.sub(r"\.-\.", "-", title) title = re.sub(r"\.-\.", "-", title)
return title return title.replace("..", ".")
def exclude(config, name): def exclude(config, name):