aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance
diff options
context:
space:
mode:
authorPjotr Prins2016-06-19 08:03:46 +0000
committerPjotr Prins2016-06-19 08:03:46 +0000
commitd67d55b023edf7e9419e5c886753a9d6a842af31 (patch)
tree16a0e1ab8b82d973ff8acf06ad73806603c37f57 /wqflask/maintenance
parentc3b63a23558b12ab7a17d4bbec730cc1f284e187 (diff)
downloadgenenetwork2-d67d55b023edf7e9419e5c886753a9d6a842af31.tar.gz
Renamed settings so they are grouped together
Diffstat (limited to 'wqflask/maintenance')
-rw-r--r--wqflask/maintenance/gen_select_dataset.py4
1 files changed, 2 insertions, 2 deletions
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()