Actually fix tv request status
This commit is contained in:
parent
2efa38507e
commit
8d09a784b8
1 changed files with 0 additions and 2 deletions
|
@ -65,7 +65,6 @@ class OmbiAPI(object):
|
||||||
# Request Type: Movie = 1, TV Show = 0
|
# Request Type: Movie = 1, TV Show = 0
|
||||||
for movie in movie_requests:
|
for movie in movie_requests:
|
||||||
hash_id = hashit(f'{movie.id}{movie.theMovieDbId}{movie.title}')
|
hash_id = hashit(f'{movie.id}{movie.theMovieDbId}{movie.title}')
|
||||||
status = None
|
|
||||||
|
|
||||||
# Denied = 0, Approved = 1, Completed = 2, Pending = 3
|
# Denied = 0, Approved = 1, Completed = 2, Pending = 3
|
||||||
if movie.denied:
|
if movie.denied:
|
||||||
|
@ -101,7 +100,6 @@ class OmbiAPI(object):
|
||||||
|
|
||||||
for show in tv_show_requests:
|
for show in tv_show_requests:
|
||||||
hash_id = hashit(f'{show.id}{show.tvDbId}{show.title}')
|
hash_id = hashit(f'{show.id}{show.tvDbId}{show.title}')
|
||||||
status = None
|
|
||||||
|
|
||||||
# Denied = 0, Approved = 1, Completed = 2, Pending = 3
|
# Denied = 0, Approved = 1, Completed = 2, Pending = 3
|
||||||
if show.childRequests[0]['denied']:
|
if show.childRequests[0]['denied']:
|
||||||
|
|
Loading…
Reference in a new issue