Skip to content

Commit

Permalink
add uri=True to sqlite3.connect args (#442)
Browse files Browse the repository at this point in the history
Co-authored-by: msx98 <[email protected]>
  • Loading branch information
msx98 and msx98 authored Dec 28, 2023
1 parent 013282d commit b7df87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mvt/ios/modules/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7df87a

Please sign in to comment.