Skip to content
Snippets Groups Projects
Commit c9c3baaa authored by Danijel Schorlemmer's avatar Danijel Schorlemmer
Browse files

Add committing taxonomies to database before processing districts

parent 40c9849c
No related branches found
No related tags found
1 merge request!38Resolve "[Hotfix] - Extra commit needed before processing districts to store taxonomy strings in database"
Pipeline #72745 passed
......@@ -463,6 +463,9 @@ class ExposureInitializer:
str(total_structural_value),
)
# Commit the new taxonomy strings and the metadata
self.exposure_db.connection.commit()
# If there is more than one processor, process the districts with the
# `multiprocess_districts` function
if num_processors == 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment