changeset 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 190a81a60e7e
files modules/web_view/display_issues_techintern.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/web_view/display_issues_techintern.py	Sun Jan 31 15:32:35 2016 +0100
+++ b/modules/web_view/display_issues_techintern.py	Sun Jan 31 15:39:27 2016 +0100
@@ -36,4 +36,5 @@
 
     return html_string
 
-# print(get_chart('techintern'))
+if __name__ == '__main__':
+    print(get_chart('techintern'))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)