From 953e915bfa34b22d63851b9c4eeaa00fb54f73f9 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Wed, 13 Sep 2023 15:32:16 +0200 Subject: [PATCH] forgot to commit, so the last layer was not in gpkg_contents Making it not show up in QGIS. --- python/ribasim/ribasim/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ribasim/ribasim/model.py b/python/ribasim/ribasim/model.py index 66c2e3bdc..4b271865f 100644 --- a/python/ribasim/ribasim/model.py +++ b/python/ribasim/ribasim/model.py @@ -200,6 +200,7 @@ def _write_tables(self, directory: FilePath) -> None: ) if isinstance(input_entry, TableModel) and not is_geometry: input_entry.write_table(connection) + connection.commit() shutil.move(temp_path, gpkg_path) return