Skip to content

Commit 4df84fa

Browse files
authored
Merge pull request #1413 from stepetal/master
2 parents 4d83bac + c8efe9d commit 4df84fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nbdev/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def nbdev_new(**kwargs):
8888

8989
_ORG_OR_USR = 'fastai'
9090
_REPOSITORY = 'nbdev-template'
91-
_TEMPLATE = f'{_ORG_OR_USR}/{_TEMPLATE}'
91+
_TEMPLATE = f'{_ORG_OR_USR}/{_REPOSITORY}'
9292
template = kwargs.get('template', _TEMPLATE)
9393
try:
9494
org_or_usr, repo = template.split('/')

nbs/api/13_cli.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
"\n",
197197
" _ORG_OR_USR = 'fastai'\n",
198198
" _REPOSITORY = 'nbdev-template'\n",
199-
" _TEMPLATE = f'{_ORG_OR_USR}/{_TEMPLATE}'\n",
199+
" _TEMPLATE = f'{_ORG_OR_USR}/{_REPOSITORY}'\n",
200200
" template = kwargs.get('template', _TEMPLATE)\n",
201201
" try:\n",
202202
" org_or_usr, repo = template.split('/')\n",

0 commit comments

Comments
 (0)