From b83351b8db98c81f8f740c27ac7d5d62e33f9747 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Sat, 10 Aug 2024 20:15:46 +0200 Subject: [PATCH] use union --- bidsmreye/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bidsmreye/report.py b/bidsmreye/report.py index c4123dd..bfa25fd 100644 --- a/bidsmreye/report.py +++ b/bidsmreye/report.py @@ -15,7 +15,7 @@ TEMPLATES_DIR = Path(__file__).parent / "templates" -SearchpathType = str | PathLike[str] | Iterable[str | PathLike[str]] +SearchpathType = Union[str | PathLike[str] | Iterable[str | PathLike[str]]] def return_jinja_env(searchpath: Union[SearchpathType, None] = None) -> Environment: