diff --git a/bin/housekeep_database.py b/bin/housekeep_database.py index ba0a630..293e056 100755 --- a/bin/housekeep_database.py +++ b/bin/housekeep_database.py @@ -9,11 +9,9 @@ from datastore import Datastore if __name__ == '__main__': - print("Reading configuration") - surveys = configuration.surveys() - print("Connecting to database") db = Datastore() + surveys = db.surveys() print("Reading surveys") for survey in surveys: