aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/header.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base/header.py')
-rwxr-xr-xwqflask/base/header.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/base/header.py b/wqflask/base/header.py
new file mode 100755
index 00000000..ec15e174
--- /dev/null
+++ b/wqflask/base/header.py
@@ -0,0 +1,6 @@
+import webqtlConfig
+
+header_string = open(webqtlConfig.HTMLPATH + 'header.html', 'r').read()
+header_string = header_string.replace("\\'", "'")
+header_string = header_string.replace('%"','%%"')
+header_string = header_string.replace('<!-- %s -->', '%s')