Browse Source

Replace double removes needed space

fix #2782
pull/5495/merge
Ruud 10 years ago
parent
commit
fd35b91c3f
  1. 2
      couchpotato/core/plugins/renamer.py

2
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:

Loading…
Cancel
Save