summaryrefslogtreecommitdiff
path: root/ranking.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranking.py')
-rw-r--r--ranking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranking.py b/ranking.py
index da9becd..e417350 100644
--- a/ranking.py
+++ b/ranking.py
@@ -28,7 +28,7 @@ for row in ranking:
row[category + '-change-class'] = 'default'
table = bs4(file('templates/ranking.html'), 'lxml')
-table_body = table.select('tbody')[0]
+table_body = table.select('table.data-table tbody')[0]
table_row = table_body.select('tr')[0].extract()
table.select('.page-header h2 small')[0].string = subtitle