Skip to content

Commit 7e189c5

Browse files
committed
Update customize.py
1 parent 49f73d8 commit 7e189c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ 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}"""+f"""@{p.host}/{p.owner}/{p.repo}"""
4141
else:
4242
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://{token}@{p.host}/{p.owner}/{p.repo}"""
4343

0 commit comments

Comments
 (0)