Mercurial > bottledash
comparison modules/web_view/display_issues_techintern.py @ 46:ba41c0fbd6e7
Print HTML to stdout if called directly
For debugging purposes.
author | Gernot Schulz <gernot@intevation.de> |
---|---|
date | Sun, 31 Jan 2016 15:39:27 +0100 |
parents | 8449509b7f6f |
children |
comparison
equal
deleted
inserted
replaced
45:8449509b7f6f | 46:ba41c0fbd6e7 |
---|---|
34 html_string = html_string.replace( | 34 html_string = html_string.replace( |
35 'var d3jsInjectionTarget="X";', 'var d3jsInjectionTarget="' + target_div_name + '";') | 35 'var d3jsInjectionTarget="X";', 'var d3jsInjectionTarget="' + target_div_name + '";') |
36 | 36 |
37 return html_string | 37 return html_string |
38 | 38 |
39 # print(get_chart('techintern')) | 39 if __name__ == '__main__': |
40 print(get_chart('techintern')) |