summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-15 00:55:06 +0100
committeremkael <emkael@tlen.pl>2016-11-15 00:55:06 +0100
commit5c47f857afb505b22193a9c056dc116f22f630ec (patch)
treeab857b81cc718381632215e31f81a02cf0db69c3
parentafa488462f6cb76163f55af7086b80cdbaa533c4 (diff)
* avoid generating different HTML content on second run of the same file
-rw-r--r--src/bidding_data.py2
1 files changed, 1 insertions, 1 deletions
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'))