diff --git a/CHANGELOG.md b/CHANGELOG.md index ec08a21..dd8510b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed +## [1.0.1] - 2025-12-10 + +### Fixed + +- Fixed format of database return value to `Path`. + ## [1.0.0] - 2025-11-17 ### Added diff --git a/datasets18xx/io/database.py b/datasets18xx/io/database.py index 39993fb..8e8eddb 100644 --- a/datasets18xx/io/database.py +++ b/datasets18xx/io/database.py @@ -20,7 +20,7 @@ def database() -> Path: Returns: The exported database, or default is env variable is not set. """ - return os.environ.get('DATABASE', default_database()) + return Path(os.environ.get('DATABASE', default_database())) def default_database() -> Path: diff --git a/pyproject.toml b/pyproject.toml index d95cc24..8d97573 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "datasets18xx" -version = "1.0.0" +version = "1.0.1" description = "A Python package to maintain datasets from 18xx.games" authors = ["Pascal "] readme = "README.md"