From d67d55b023edf7e9419e5c886753a9d6a842af31 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 19 Jun 2016 08:03:46 +0000 Subject: Renamed settings so they are grouped together --- wqflask/maintenance/gen_select_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask/maintenance') diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py index f91d3d88..d39bf4a5 100644 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -258,7 +258,7 @@ def build_datasets(species, group, type_name): def main(): """Generates and outputs (as json file) the data for the main dropdown menus on the home page""" - parse_db_uri(zach_settings.DB_URI) + parse_db_uri(zach_settings.SQL_URI) species = get_species() groups = get_groups(species) @@ -297,6 +297,6 @@ def _test_it(): #print("build_datasets:", pf(datasets)) if __name__ == '__main__': - Conn = MySQLdb.Connect(**parse_db_uri(zach_settings.DB_URI)) + Conn = MySQLdb.Connect(**parse_db_uri(zach_settings.SQL_URI)) Cursor = Conn.cursor() main() -- cgit v1.2.3