File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 ]
You can’t perform that action at this time.
0 commit comments