From ebdf81391b5924d9db4e69ad6bd58e57adfd7c51 Mon Sep 17 00:00:00 2001 From: itdaboyz Date: Wed, 2 Mar 2016 13:43:42 +0100 Subject: [PATCH] Update renamer.py Fix #6063 --- 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 843d7bc..c2104b3 100755 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -907,7 +907,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-[^\s])+', '-'), (' ]', ']'), ] for r in replaces: