From b7df87a62f689eaea1337fbc494ffd78b34ec0e6 Mon Sep 17 00:00:00 2001 From: msx98 Date: Thu, 28 Dec 2023 12:44:38 +0200 Subject: [PATCH] add uri=True to sqlite3.connect args (#442) Co-authored-by: msx98 --- mvt/ios/modules/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvt/ios/modules/base.py b/mvt/ios/modules/base.py index 635d9ad0b..f36e69bc7 100644 --- a/mvt/ios/modules/base.py +++ b/mvt/ios/modules/base.py @@ -92,7 +92,7 @@ def _recover_sqlite_db_if_needed( self.log.info("Database at path %s recovered successfully!", file_path) def _open_sqlite_db(self, file_path: str) -> sqlite3.Connection: - return sqlite3.connect(f"file:{file_path}?immutable=1") + return sqlite3.connect(f"file:{file_path}?immutable=1", uri=True) def _get_backup_files_from_manifest( self, relative_path: Optional[str] = None, domain: Optional[str] = None