aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/header.py
diff options
context:
space:
mode:
authorSam Ockman2012-05-24 02:18:20 -0400
committerSam Ockman2012-05-24 02:18:20 -0400
commit527bb0459cf488e5021696e326dc10d28ecdd74c (patch)
tree097e013d6a876fe0a6e178ff6defa813faa4af93 /wqflask/base/header.py
parentaa915612d2ff98f1e31d2ec38e8054382ef75dd9 (diff)
downloadgenenetwork2-527bb0459cf488e5021696e326dc10d28ecdd74c.tar.gz
Trying to get stuff working under new structure
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..b6136b51
--- /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') \ No newline at end of file