From aaa42a8efcd53576ced9bf2311e84d8ff2a5c8cf Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Fri, 28 Feb 2014 15:28:22 -0500 Subject: pass the book name in the settings dict --- web/utils.py | 1 - 1 file changed, 1 deletion(-) (limited to 'web/utils.py') diff --git a/web/utils.py b/web/utils.py index 8c7a33e..bb9a4fe 100644 --- a/web/utils.py +++ b/web/utils.py @@ -3,7 +3,6 @@ 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) if d[0]: words, coords = zip(*d[0]) -- cgit v1.2.3-70-g09d2