comparison modules/roundup_cc/display_issues.py @ 12:50f4c64834cb

delegation of dynamic charts works now
author sean
date Tue, 04 Aug 2015 16:00:07 +0200
parents 7a573ec679a6
children
comparison
equal deleted inserted replaced
11:7a573ec679a6 12:50f4c64834cb
17 17
18 render_db_stats_as_html(rcd.DATABASE_DEMO, rcd.SELECT_ALL) 18 render_db_stats_as_html(rcd.DATABASE_DEMO, rcd.SELECT_ALL)
19 """ 19 """
20 20
21 import sqlite3 as db 21 import sqlite3 as db
22 import cgitb, os, sys 22 import cgitb, os, sys, inspect
23 import roundup_cc.roundup_content_data as rcd 23 import roundup_cc.roundup_content_data as rcd
24 24
25 PATH = os.path.abspath(os.path.dirname(sys.argv[0])) 25 PATH = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
26 HTML_DATA = "graph.html" 26 HTML_DATA = "graph.html"
27 PATH_TO_HTML = PATH + "/modules/roundup_cc/" + HTML_DATA 27 PATH_TO_HTML = PATH + "/" + HTML_DATA
28 28
29 def make_js_object_string(array): 29 def make_js_object_string(array):
30 formated = [] 30 formated = []
31 31
32 for item in array: 32 for item in array:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)