diff --git a/shapeout2/meta_tool.py b/shapeout2/meta_tool.py index f084c37..696553a 100644 --- a/shapeout2/meta_tool.py +++ b/shapeout2/meta_tool.py @@ -26,8 +26,9 @@ def cached_wrapper(path, path_stats, *args, **kwargs): @functools.wraps(func) def wrapper(path, *args, **kwargs): - full_path = pathlib.Path(path).resolve() - if full_path.exists(): + local_path = pathlib.Path(path) + if local_path.exists(): + full_path = local_path.resolve() path_stat = full_path.stat() return cached_wrapper( path=full_path,