typo
This commit is contained in:
parent
0af94f2832
commit
407bfb9eb6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue