We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d83bac + c8efe9d commit 4df84faCopy full SHA for 4df84fa
nbdev/cli.py
@@ -88,7 +88,7 @@ def nbdev_new(**kwargs):
88
89
_ORG_OR_USR = 'fastai'
90
_REPOSITORY = 'nbdev-template'
91
- _TEMPLATE = f'{_ORG_OR_USR}/{_TEMPLATE}'
+ _TEMPLATE = f'{_ORG_OR_USR}/{_REPOSITORY}'
92
template = kwargs.get('template', _TEMPLATE)
93
try:
94
org_or_usr, repo = template.split('/')
nbs/api/13_cli.ipynb
@@ -196,7 +196,7 @@
196
"\n",
197
" _ORG_OR_USR = 'fastai'\n",
198
" _REPOSITORY = 'nbdev-template'\n",
199
- " _TEMPLATE = f'{_ORG_OR_USR}/{_TEMPLATE}'\n",
+ " _TEMPLATE = f'{_ORG_OR_USR}/{_REPOSITORY}'\n",
200
" template = kwargs.get('template', _TEMPLATE)\n",
201
" try:\n",
202
" org_or_usr, repo = template.split('/')\n",
0 commit comments