Skip to content

Commit

Permalink
Correct language filtering for Movie images.
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Aug 19, 2012
1 parent 0d92642 commit 56a9036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -4,7 +4,7 @@

setup(
name='tmdb3',
version='0.6.8',
version='0.6.9',
description='TheMovieDB.org APIv3 interface',
long_description="Object-oriented interface to TheMovieDB.org's v3 API.",
packages=['tmdb3']
Expand Down
5 changes: 3 additions & 2 deletions tmdb3/tmdb_api.py
Expand Up @@ -22,7 +22,7 @@
Preliminary API specifications can be found at
http://help.themoviedb.org/kb/api/about-3"""

__version__="v0.6.8"
__version__="v0.6.9"
# 0.1.0 Initial development
# 0.2.0 Add caching mechanism for API queries
# 0.2.1 Temporary work around for broken search paging
Expand Down Expand Up @@ -51,6 +51,7 @@
# 0.6.6 Turn date processing errors into mutable warnings
# 0.6.7 Add support for searching by year
# 0.6.8 Add support for collection images
# 0.6.9 Correct Movie image language filtering

from request import set_key, Request
from util import Datapoint, Datalist, Datadict, Element, NameRepr, SearchRepr
Expand Down Expand Up @@ -482,7 +483,7 @@ def _populate_cast(self):
def _populate_images(self):
kwargs = {}
if not self._locale.fallthrough:
kwargs['country'] = self._locale.country
kwargs['language'] = self._locale.language
return Request('movie/{0}/images'.format(self.id), **kwargs)
def _populate_keywords(self):
return Request('movie/{0}/keywords'.format(self.id))
Expand Down

0 comments on commit 56a9036

Please sign in to comment.