This commit is contained in:
j 2012-03-08 14:47:58 +01:00
parent 0af94f2832
commit 407bfb9eb6

View file

@ -70,7 +70,7 @@ def getData(request):
data['rating'] = float(data['rating']) * 10
if 'votes' in data:
max_votes = ox.data.maxVotes()
max_votes = ox.web.imdb.maxVotes()
data['votes'] = 100 * float(data['votes']) / max_votes
if 'reviews' in data: