mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-19 20:35:37 +08:00
Fix for missing movieFile key returned by Radarr API
This commit is contained in:
parent
8d13e5b548
commit
f405687d50
1 changed files with 36 additions and 35 deletions
|
@ -48,6 +48,7 @@ def update_movies():
|
||||||
|
|
||||||
for movie in r.json():
|
for movie in r.json():
|
||||||
if movie['hasFile'] is True:
|
if movie['hasFile'] is True:
|
||||||
|
if 'movieFile' in movie:
|
||||||
try:
|
try:
|
||||||
overview = unicode(movie['overview'])
|
overview = unicode(movie['overview'])
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue