Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 16, 2022
1 parent 648e94c commit c384527
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion flexget/components/tmdb/api.py
Expand Up @@ -108,7 +108,10 @@ class ObjectsContainer:
'include_backdrops', type=inputs.boolean, default=False, help='Include backdrops in response'
)
tmdb_parser.add_argument(
'include_release_dates', type=inputs.boolean, default=False, help='Include release dates in response'
'include_release_dates',
type=inputs.boolean,
default=False,
help='Include release dates in response',
)


Expand Down
2 changes: 1 addition & 1 deletion flexget/components/tmdb/api_tmdb.py
Expand Up @@ -203,7 +203,7 @@ def release_dates(self):
)
try:
results = tmdb_request('movie/{}/release_dates'.format(self.id))['results']

release_dates = {}
for iso in results:
# TODO: Filter on language not fixed regions. Fallback on movie spoken language if not defined in tmdb?
Expand Down

0 comments on commit c384527

Please sign in to comment.