Browse Source

Force strip leading and trailing spaces

fix #4796
pull/4942/head
Ruud 10 years ago
parent
commit
4743bd4e9e
  1. 2
      couchpotato/core/plugins/renamer.py

2
couchpotato/core/plugins/renamer.py

@ -886,7 +886,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
replaced = replaced.replace('<' + x + '>', '')
if self.conf('replace_doubles'):
replaced = self.replaceDoubles(replaced.lstrip('. '))
replaced = self.replaceDoubles(replaced.lstrip('. '))
for x, r in replacements.items():
if x in ['thename', 'namethe']:

Loading…
Cancel
Save