diff 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
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)