mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-12 09:47:40 +08:00
Fix for missing path returned by Radarr #213
This commit is contained in:
parent
c002542beb
commit
e97e34bbd4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def update_movies():
|
|||
for movie in r.json():
|
||||
if movie['hasFile'] is True:
|
||||
if 'movieFile' in movie:
|
||||
if movie['movieFile']['relativePath'] is not None:
|
||||
if movie["path"] != None and movie['movieFile']['relativePath'] != None:
|
||||
try:
|
||||
overview = unicode(movie['overview'])
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue