From 5c47f857afb505b22193a9c056dc116f22f630ec Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 15 Nov 2016 00:55:06 +0100 Subject: * avoid generating different HTML content on second run of the same file --- src/bidding_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bidding_data.py b/src/bidding_data.py index 7422653..4a70969 100644 --- a/src/bidding_data.py +++ b/src/bidding_data.py @@ -482,7 +482,7 @@ class JFRBidding(object): bidding_style = board_content.new_tag( 'link', rel='stylesheet', href='css/bidding.css') - jquery_scripts[0].insert_after(bidding_style) + board_content.head.append(bidding_style) board_html.seek(0) board_html.write(board_content.prettify( 'utf-8', formatter='html')) -- cgit v1.2.3