Skip to content

Commit e7c9aae

Browse files
committed
fix: Coerce root to Path on init
1 parent 1924477 commit e7c9aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templateflow/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(
8585
):
8686
if cache is None:
8787
if root:
88-
config_kwargs['root'] = root
88+
config_kwargs['root'] = Path(root)
8989
cache = TemplateFlowCache(CacheConfig(**config_kwargs))
9090
elif root or config_kwargs:
9191
raise ValueError(

0 commit comments

Comments
 (0)