Skip to content

Commit 7fd1715

Browse files
authored
Merge branch 'dev' into dev
2 parents 28e4946 + 233bc96 commit 7fd1715

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/push-mlperf-inference-results-to-github/customize.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ def preprocess(i):
3737
if env.get('CM_GITHUB_PAT', '') != '':
3838
token = env['CM_GITHUB_PAT']
3939
if token == "PAT":
40-
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://\\$PAT@{p.host}/{p.owner}/{p.repo}"""
40+
env['CM_SET_REMOTE_URL_CMD'] = r"""git remote set-url origin https://\$PAT@""" + \
41+
f"""{p.host}/{p.owner}/{p.repo}"""
4142
else:
4243
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://{token}@{p.host}/{p.owner}/{p.repo}"""
4344

0 commit comments

Comments
 (0)