From 5230ff63e3704f04306e4824daf4de953ffaa80a Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Sat, 9 Sep 2023 16:39:53 +0200 Subject: [PATCH] Use new database API calls for configuration --- bin/housekeep_database.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: