Use new database API calls for configuration

This commit is contained in:
D. Berge
2023-09-09 16:39:53 +02:00
parent 2b364bbff7
commit 5230ff63e3

View File

@@ -9,11 +9,9 @@ from datastore import Datastore
if __name__ == '__main__': if __name__ == '__main__':
print("Reading configuration")
surveys = configuration.surveys()
print("Connecting to database") print("Connecting to database")
db = Datastore() db = Datastore()
surveys = db.surveys()
print("Reading surveys") print("Reading surveys")
for survey in surveys: for survey in surveys: