diff --git a/bazarr/helper.py b/bazarr/helper.py index 4d7f1b432..4307affde 100644 --- a/bazarr/helper.py +++ b/bazarr/helper.py @@ -16,8 +16,8 @@ class PathMappings: self.path_mapping_movies = [] def update(self): - self.path_mapping_series = ast.literal_eval(settings.general.path_mappings) - self.path_mapping_movies = ast.literal_eval(settings.general.path_mappings_movie) + self.path_mapping_series = [x for x in ast.literal_eval(settings.general.path_mappings) if x[0] != x[1]] + self.path_mapping_movies = [x for x in ast.literal_eval(settings.general.path_mappings_movie) if x[0] != x[1]] def path_replace(self, path): if path is None: