mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +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:
|
||||
exists.append(arr_ids[tmdb_id])
|
||||
continue
|
||||
if path.lower() in arr_paths:
|
||||
if path and path.lower() in arr_paths:
|
||||
mismatched[path] = tmdb_id
|
||||
continue
|
||||
movie = self.api.get_movie(tmdb_id=tmdb_id)
|
||||
|
|
|
@ -111,7 +111,7 @@ class Sonarr:
|
|||
if tvdb_id in arr_ids:
|
||||
exists.append(arr_ids[tvdb_id])
|
||||
continue
|
||||
if path.lower() in arr_paths:
|
||||
if path and path.lower() in arr_paths:
|
||||
mismatched[path] = tvdb_id
|
||||
continue
|
||||
show = self.api.get_series(tvdb_id=tvdb_id)
|
||||
|
|
Loading…
Reference in a new issue