Closed kasrak closed 12 years ago
Seems to work fine here. What version of Python are you running?
2.7.2
Same here, works fine.
Python 2.7.2 (default, Jan 14 2012, 03:45:25)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import tmdb3
>>> tmdb3.set_key('c27cb71cff5bd76e1a7a009380562c62')
>>> m = tmdb3.Movie(3131)
>>> c = m.crew[0]
>>> c
<Crew 'Martin Scorsese','Director'>
>>> c.job
u'Director'
>>> c
<Crew 'Martin Scorsese','Director'>
Strange, it just started working with no changes on my end.
Notice that c.job returns an empty string and afterwards, that Crew object's job permanently becomes an empty string.
This is based on 0.6.2.