diff --git a/pytvlwcharts/tvlwcharts.py b/pytvlwcharts/tvlwcharts.py index 46b5a9c..bb18d46 100644 --- a/pytvlwcharts/tvlwcharts.py +++ b/pytvlwcharts/tvlwcharts.py @@ -214,7 +214,6 @@ chart.timeScale().fitContent(); })(); {% endfor %} - })(); const data_url = "{{ data_url }}"; function updateData() { try { @@ -251,6 +250,7 @@ updateData(); } setDataUpdateInterval(); + })(); """)