Skip to content

Commit d4017d5

Browse files
committed
Fix update badge href
1 parent c2b66af commit d4017d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def update_badge(cell: dict, repo_name: str, branch: str, nb_path: str):
125125
badge_pattern = re.compile(r"<!--<badge>-->(.*?)<!--</badge>-->")
126126
href_pattern = re.compile(r"href=[\"\'](.*?)[\"\']")
127127

128-
new_href = f'"https://colab.research.google.com/github/{repo_name}/blob/{branch}/{nb_path}"'
128+
new_href = f"https://colab.research.google.com/github/{repo_name}/blob/{branch}/{nb_path}"
129129
text = cell["source"]
130130

131131
for i, line in enumerate(text):

0 commit comments

Comments
 (0)