aboutsummaryrefslogtreecommitdiffstats
path: root/web/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'web/utils.py')
-rw-r--r--web/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/utils.py b/web/utils.py
index 583cd1c..5cc53cf 100644
--- a/web/utils.py
+++ b/web/utils.py
@@ -5,7 +5,7 @@ import sys
def gen_html(book, page_number):
book = "../Villiers_de_L\'Isle-Adam_-_Tribulat_Bonhomet,_1908.djvu"
d = parse_book(book, page=int(page_number), html=True)
- coords, words = d["coords"][0], d["words"][0]
+ words, coords = d[0]
def get_areas():
for i, coord in enumerate(coords):