Fix <script> tags string concat for Plotly output.

This commit is contained in:
Christopher C. Wells 2019-05-29 10:18:06 -07:00
parent 3ba58c9352
commit 2f8bc831d7
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ def split_graph_output(output):
"""
try:
html, js_graph, js_listener = output.split('<script')
js = js_graph + js_listener
js = js_graph + '<script' + js_listener
except ValueError:
html, js = output.split('<script')
js = '<script' + js