changed Missing available to 0/1 for grafana colorization

This commit is contained in:
Nicholas St. Germain 2018-12-10 01:16:01 -06:00
parent 78ce399f33
commit a2b01b2b1c

View file

@ -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))