Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix QGIS plugin now that database entry is not in TOML (#826)
This code gives an error in the QGIS plugin: ```python def _get_database_path_from_model_file(self) -> str: with open(self.path, "rb") as f: model_filename = tomllib.load(f)["database"] return str(Path(self.path).parent.joinpath(model_filename)) ``` Because the database entry is no longer present in the TOML because of #815.
- Loading branch information