mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 09:37:25 +00:00
Ignore path mappings if both sides are the same.
This commit is contained in:
parent
ebde79a8cd
commit
138af20bb6
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue