diff --git a/pandoraclient b/pandoraclient index 586fe64..47c1440 100755 --- a/pandoraclient +++ b/pandoraclient @@ -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'