changed Missing available to 0/1 for grafana colorization
This commit is contained in:
parent
35cb12f751
commit
230551bc0b
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ class RadarrAPI(object):
|
|||
for movie in movies:
|
||||
if not movie.downloaded:
|
||||
if movie.isAvailable:
|
||||
ma = True
|
||||
ma = 0
|
||||
else:
|
||||
ma = False
|
||||
ma = 1
|
||||
movie_name = '{} ({})'.format(movie.title, movie.year)
|
||||
missing.append((movie_name, ma, movie.tmdbId))
|
||||
|
||||
|
|
Loading…
Reference in a new issue