aboutsummaryrefslogtreecommitdiff
path: root/vault.py
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-10-30 14:15:47 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-10-30 14:15:47 +0100
commit5dbfb0ecec4d45c39bbfe292d8084e2e8e1910c2 (patch)
tree5d74c59229d3ca0dd515d411305d10bad10400ce /vault.py
parentef93a0e32c06b3133884c17c5d5265ac0e138f6e (diff)
downloadmitjafelicijan.com-5dbfb0ecec4d45c39bbfe292d8084e2e8e1910c2.tar.gz
Made the side more retro!
Diffstat (limited to 'vault.py')
-rw-r--r--vault.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vault.py b/vault.py
index c363781..5610c87 100644
--- a/vault.py
+++ b/vault.py
@@ -37,7 +37,7 @@ if response.status_code == 200:
37 md += tree_to_md(v, indent + 1, path=f"{path}{k}/") 37 md += tree_to_md(v, indent + 1, path=f"{path}{k}/")
38 else: # If the node is empty, it's a file 38 else: # If the node is empty, it's a file
39 file_url = f"{url}{path}{k}" 39 file_url = f"{url}{path}{k}"
40 file_name = truncate_filename(k, 80) 40 file_name = truncate_filename(k, 300)
41 md += " " * indent + f"- [{file_name}](<{file_url}>)\n" 41 md += " " * indent + f"- [{file_name}](<{file_url}>)\n"
42 return md 42 return md
43 43