Skip to content
Snippets Groups Projects
Commit 5f485ec2 authored by Chad Hanna's avatar Chad Hanna Committed by Kipp Cannon
Browse files

webpage.py: use path join instead of +

parent dc2bb3ff
No related branches found
No related tags found
No related merge requests found
......@@ -84,8 +84,8 @@ class page(object):
def write(self, f):
gstlal_css_file = open(webvis_dir + 'gstlal.css')
gstlal_js_file = open(webvis_dir + 'gstlal.js')
gstlal_css_file = open(os.path.join(webvis_dir,'gstlal.css'))
gstlal_js_file = open(os.path.join(webvis_dir,'gstlal.js'))
gstlal_css = """<style>""" + gstlal_css_file.read() + """</style>"""
gstlal_js = """<script>""" + gstlal_js_file.read() + """</script>"""
gstlal_list = [elem("head", [gstlal_css, gstlal_js])]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment