Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
seeM committed Aug 14, 2022
1 parent 0866543 commit 9c23172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbdev/doclinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def build_modidx():
def nbglob(path=None, skip_folder_re = '^[_.]', file_glob='*.ipynb', recursive=True, key='nbs_path',
as_path=False, **kwargs):
"Find all files in a directory matching an extension given a config key."
path = Path(path or get_config.path(key))
path = Path(path or get_config().path(key))
if recursive is None: recursive=str2bool(get_config().recursive)
res = globtastic(path, file_glob=file_glob, skip_folder_re=skip_folder_re, **kwargs)
return res.map(Path) if as_path else res
Expand Down
2 changes: 1 addition & 1 deletion nbs/04b_doclinks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
"def nbglob(path=None, skip_folder_re = '^[_.]', file_glob='*.ipynb', recursive=True, key='nbs_path',\n",
" as_path=False, **kwargs):\n",
" \"Find all files in a directory matching an extension given a config key.\"\n",
" path = Path(path or get_config.path(key))\n",
" path = Path(path or get_config().path(key))\n",
" if recursive is None: recursive=str2bool(get_config().recursive)\n",
" res = globtastic(path, file_glob=file_glob, skip_folder_re=skip_folder_re, **kwargs)\n",
" return res.map(Path) if as_path else res"
Expand Down

0 comments on commit 9c23172

Please sign in to comment.