From f35da83b1bb1e136307832d342f6fbfda0b2d750 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 23 Aug 2003 08:35:18 +0000 Subject: [PATCH] Added rating to imdb output. --- plugins/IMDB.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/IMDB.py b/plugins/IMDB.py index 51689d4cb..86b82b1f5 100644 --- a/plugins/IMDB.py +++ b/plugins/IMDB.py @@ -69,8 +69,9 @@ class IMDB(callbacks.Privmsg): title = utils.unCommaThe(movie.title()) genres = utils.commaAndify(map(str.lower, movie.genres())) s = '"%s" (%s) belongs to the %s genres. ' \ - 'More information at <%s>' % \ - (title, movie.year(), genres, movie.url) + 'It\'s been rated %s out of 10. ' \ + 'More information is available at <%s>' % \ + (title, movie.year(), genres, movie.rating(), movie.url) irc.reply(msg, s) elif len(movies) > 20: s = 'More than 20 movies matched, please narrow your search.'