Skip to content

Commit

Permalink
Fix a bug that prevented finding metadata in Windows-bundled databases
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Oct 30, 2024
1 parent 72c6677 commit 2fc8b78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.d/20241030_004631_kurtmckee_test_bundling.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Fixed
-----

* Fix a bug that prevented databases bundled on Windows from finding package metadata.
2 changes: 1 addition & 1 deletion src/sqliteimport/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def add_file(self, directory: pathlib.Path, file: pathlib.Path) -> None:
""",
(
fullname.replace("/", ".").replace("\\", "."),
str(file),
str(pathlib.PurePosixPath(file)),
is_package,
(directory / file).read_text(),
),
Expand Down

0 comments on commit 2fc8b78

Please sign in to comment.