Skip to content

Commit 350a72f

Browse files
committed
remove slash
1 parent b640248 commit 350a72f

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 _update_repo_meta(cfg):
8888
if token:
8989
from ghapi.core import GhApi
9090
api = GhApi(owner=cfg.user, repo=cfg.repo, token=token)
91-
try: api.repos.update(homepage=f'{cfg.doc_host}/{cfg.doc_baseurl}', description=cfg.description)
91+
try: api.repos.update(homepage=f'{cfg.doc_host}{cfg.doc_baseurl}', description=cfg.description)
9292
except HTTPError:print(f"Could not update the description & URL on the repo: {cfg.user}/{cfg.repo} using $GITHUB_TOKEN.\n"
9393
"Use a token with the correction permissions or perform these steps manually.")
9494

nbs/09_API/12_cli.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
" if token: \n",
192192
" from ghapi.core import GhApi\n",
193193
" api = GhApi(owner=cfg.user, repo=cfg.repo, token=token)\n",
194-
" try: api.repos.update(homepage=f'{cfg.doc_host}/{cfg.doc_baseurl}', description=cfg.description)\n",
194+
" try: api.repos.update(homepage=f'{cfg.doc_host}{cfg.doc_baseurl}', description=cfg.description)\n",
195195
" except HTTPError:print(f\"Could not update the description & URL on the repo: {cfg.user}/{cfg.repo} using $GITHUB_TOKEN.\\n\"\n",
196196
" \"Use a token with the correction permissions or perform these steps manually.\")"
197197
]

0 commit comments

Comments
 (0)