No need for double replace
This commit is contained in:
1 parent
5bea9dd04f
commit
158f638fb9
1 file changed
-4
@@ -373,10 +373,6 @@ class Renamer(Plugin):
|
|||||||
elif file_type is 'nfo':
|
elif file_type is 'nfo':
|
||||||
final_file_name = self.doReplace(nfo_name, replacements, remove_multiple = True)
|
final_file_name = self.doReplace(nfo_name, replacements, remove_multiple = True)
|
||||||
|
|
||||||
# Seperator replace
|
|
||||||
if separator:
|
|
||||||
final_file_name = final_file_name.replace(' ', separator)
|
|
||||||
|
|
||||||
# Move DVD files (no structure renaming)
|
# Move DVD files (no structure renaming)
|
||||||
if group['is_dvd'] and file_type is 'movie':
|
if group['is_dvd'] and file_type is 'movie':
|
||||||
found = False
|
found = False
|
||||||
|
|||||||
Reference in new issue
Block a user