comparison modules/web_view/__init__.py @ 16:f89ad628f831

adding the renamed files
author sean
date Wed, 05 Aug 2015 13:33:15 +0200
parents
children
comparison
equal deleted inserted replaced
15:82d66f4488cd 16:f89ad628f831
1 #!/usr/bin/env python
2
3 """ supplys the data needed to comunicate with the roundup-server,
4 and the sqlite database. Represents the types of errors used in roundup.
5
6 author: Sascha L. Teichmann <sascha.teichmann@intevation.de>
7 author: Bernhard Reiter <bernhard@intevation.de>
8 author: Sean Engelhardt <sean.engelhardt@intevation.de>
9
10 (c) 2010,2015 by Intevation GmbH
11
12 This is Free Software unter the terms of the
13 GNU GENERAL PUBLIC LICENSE Version 3 or later.
14 See http://www.gnu.org/licenses/gpl-3.0.txt for details
15 """
16 import importlib
17
18 def make_chart(chart_data_file, target_div_name):
19 mod = importlib.import_module("web_view." + chart_data_file)
20
21 return mod.get_chart(target_div_name)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)