diff options
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') |