Skip to content

Commit

Permalink
wip: fix encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
jthodge committed Oct 15, 2023
1 parent 67ba7af commit 86fd0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def build_database(repo_path):
path = str(filepath.relative_to(root))
url = "https://github.com/jthodge/til/blob/main/{}".format(path)
# Do we need to render the markdown?
path_slug = path.replace("/", "_").replace(".md", "")
path_slug = tilde_encode(path.replace("/", "_"))
try:
row = table.get(path_slug)
previous_body = row["body"]
Expand Down

0 comments on commit 86fd0d8

Please sign in to comment.