Make daily_tasks work with new project configuration

This commit is contained in:
D. Berge
2023-09-30 20:36:46 +02:00
parent 180590b411
commit 9388cd4861

View File

@@ -11,11 +11,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: