Fixed two instances of response to srch_respnonse
prithugoswami prithugoswami524@gmail.com
Wed, 03 Jan 2018 21:36:59 +0530
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
amt.py
→
amt.py
@@ -122,9 +122,9 @@ title = input("\nCould not find the movie, Enter"
" alternate movie title >> ") searchindex = int(input('Search result index >> ')) - response = search.movie(query=title) + srch_response = search.movie(query=title) try: - tmdb_movie = (tmdb.Movies(response['results'] + tmdb_movie = (tmdb.Movies(srch_response['results'] [searchindex]['id'])) except IndexError: continue