doganaydin/themoviedb — Issue #6: tmdb.tmdb("<NAME>") search method error
Author: appadappa
Created: 2011-10-14 20:28:03+00:00
State: open

>>> import tmdb
>>> movie = tmdb.tmdb("Fight Club")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/tmdb.py", line 454, in __init__
self.movie = mdb.search(name)[int(result)]
NameError: global name 'result' is not defined
>>> movie = tmdb.search("Fight Club")
>>>