mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 07:57:07 +00:00
Use new database API calls for configuration
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user