diff --git a/py-rattler/rattler/package/index_json.py b/py-rattler/rattler/package/index_json.py index 9a8a38a55..87a6006b4 100644 --- a/py-rattler/rattler/package/index_json.py +++ b/py-rattler/rattler/package/index_json.py @@ -43,9 +43,7 @@ def from_package_directory(path: os.PathLike[str]) -> IndexJson: resulting object. If the file is not in a parsable format or if the file could not be read, this function returns an error. """ - return IndexJson._from_py_index_json( - PyIndexJson.from_package_directory(Path(path)) - ) + return IndexJson._from_py_index_json(PyIndexJson.from_package_directory(Path(path))) @staticmethod def from_str(string: str) -> IndexJson: