after fixing 'en' for subtitles, check if rename is still necessary
This commit is contained in:
parent
df003c2b87
commit
c1bdd48579
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def organize():
|
|||
# remove '.en'
|
||||
rename += [[
|
||||
file['path'], re.sub(regexp, '', file[path_key[file['path']]])
|
||||
] for file in version['files'] if re.search(regexp, file[path_key[file['path']]])]
|
||||
] for file in version['files'] if re.search(regexp, file[path_key[file['path']]]) and file['path'] != re.sub(regexp, '', file[path_key[file['path']]])]
|
||||
for paths in rename:
|
||||
issues['%s filenames' % (
|
||||
'incorrect' if path_key[paths[0]] == 'correctedPath' else 'non-canonical'
|
||||
|
|
Loading…
Reference in a new issue