diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-11-17 23:38:26 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-11-17 23:38:26 +0100 |
commit | 9f182d5676b89087b03939b528e9c5607dabd283 (patch) | |
tree | bb9515ed50753144092ea6e617961670a90f4c8a | |
parent | ebe3644acb28a51171fc0dad77ccd1bf59ed4e58 (diff) | |
download | scripts-9f182d5676b89087b03939b528e9c5607dabd283.tar.gz scripts-9f182d5676b89087b03939b528e9c5607dabd283.zip |
this comment was inaccurate
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index 748e872..f5d56b2 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -100,9 +100,7 @@ def do_prune(args, imdb_ids): tmdbcache.prune(imdb_id) def do_rating(args, imdb_ids): - """Calculates a rating based on vote_average and vote_count. - See http://blog.moertel.com/posts/2006-01-17-mining-gold-from-the-internet-movie-database-part-1.html - for details""" + """Calculates a rating based on vote_average and vote_count""" with TMDBCache() as tmdbcache: infos = map(lambda imdb_id: tmdbcache.infos(imdb_id), imdb_ids) infos = filter(lambda i: "vote_average" in i and "vote_count" in i, infos) |