diff options
author | Zachary Sloan | 2013-01-11 23:59:41 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-01-11 23:59:41 +0000 |
commit | 2b2970d167c5b555e0e0ad0b34b72f817c1fac91 (patch) | |
tree | 36fa8c708138fff03593e0f50cc933bcb62b5592 /wqflask/base/header.py | |
parent | 1db9237a05fd27c80dc963db9916072594156198 (diff) | |
parent | d39b691994a395c45fa242de6d64d12a5470af10 (diff) | |
download | genenetwork2-2b2970d167c5b555e0e0ad0b34b72f817c1fac91.tar.gz |
Merge branch 'flask' of http://github.com/zsloan/genenetwork
Diffstat (limited to 'wqflask/base/header.py')
-rwxr-xr-x | wqflask/base/header.py | 6 |
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') |