mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-14 00:37:22 +00:00
fix NoneError
This commit is contained in:
parent
9214b3bd02
commit
672cdbd2ce
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ class Radarr:
|
||||||
if tmdb_id in arr_ids:
|
if tmdb_id in arr_ids:
|
||||||
exists.append(arr_ids[tmdb_id])
|
exists.append(arr_ids[tmdb_id])
|
||||||
continue
|
continue
|
||||||
if path.lower() in arr_paths:
|
if path and path.lower() in arr_paths:
|
||||||
mismatched[path] = tmdb_id
|
mismatched[path] = tmdb_id
|
||||||
continue
|
continue
|
||||||
movie = self.api.get_movie(tmdb_id=tmdb_id)
|
movie = self.api.get_movie(tmdb_id=tmdb_id)
|
||||||
|
|
|
@ -111,7 +111,7 @@ class Sonarr:
|
||||||
if tvdb_id in arr_ids:
|
if tvdb_id in arr_ids:
|
||||||
exists.append(arr_ids[tvdb_id])
|
exists.append(arr_ids[tvdb_id])
|
||||||
continue
|
continue
|
||||||
if path.lower() in arr_paths:
|
if path and path.lower() in arr_paths:
|
||||||
mismatched[path] = tvdb_id
|
mismatched[path] = tvdb_id
|
||||||
continue
|
continue
|
||||||
show = self.api.get_series(tvdb_id=tvdb_id)
|
show = self.api.get_series(tvdb_id=tvdb_id)
|
||||||
|
|
Loading…
Reference in a new issue