From fd35b91c3fef05314e0f5235be82a240f044e8ab Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 22 Sep 2015 11:35:27 +0200 Subject: [PATCH] Replace double removes needed space fix #2782 --- couchpotato/core/plugins/renamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index fd710d5..3cd2fa4 100755 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -900,7 +900,7 @@ Remove it if you want it to be renamed (again, or at least let it try again) replaces = [ ('\.+', '.'), ('_+', '_'), ('-+', '-'), ('\s+', ' '), (' \\\\', '\\\\'), (' /', '/'), - ('(\s\.)+', '.'), ('(-\.)+', '.'), ('(\s-)+', '-'), + ('(\s\.)+', '.'), ('(-\.)+', '.'), ('(\s-[^\s])+', '-'), ] for r in replaces: