From 1bfaea18c553676e7a6fa53bd9da9c9bab2271d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Wed, 4 Sep 2024 12:03:59 -0400 Subject: [PATCH] Commit after backup --- oonipipeline/src/oonipipeline/analysis/control.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oonipipeline/src/oonipipeline/analysis/control.py b/oonipipeline/src/oonipipeline/analysis/control.py index 6bed39d6..63f39a9b 100644 --- a/oonipipeline/src/oonipipeline/analysis/control.py +++ b/oonipipeline/src/oonipipeline/analysis/control.py @@ -208,6 +208,7 @@ def build_from_existing(self, db_str: str): with sqlite3.connect(db_str) as src_db: self.db = sqlite3.connect(":memory:") src_db.backup(self.db) + self.db.commit() def close(self): self.db.close()