diff --git a/jupyterlab-snippets/loader.py b/jupyterlab-snippets/loader.py index 4013d25..1cd5f1f 100644 --- a/jupyterlab-snippets/loader.py +++ b/jupyterlab-snippets/loader.py @@ -14,7 +14,7 @@ def __init__(self): def collect_snippets(self): snippets = [] for root_path in self.snippet_paths: - for dirpath, dirnames, filenames in os.walk(root_path): + for dirpath, dirnames, filenames in os.walk(root_path, followlinks=True): for f in filenames: fullpath = PurePath(dirpath).relative_to(root_path).joinpath(f)