Skip to content

Commit

Permalink
changed Missing available to 0/1 for grafana colorization
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtycajunrice committed Dec 10, 2018
1 parent 1dc8201 commit 15bd7b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varken/radarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def get_missing(self):
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))

Expand Down

0 comments on commit 15bd7b5

Please sign in to comment.