diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-30 14:15:47 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-30 14:15:47 +0100 |
| commit | 5dbfb0ecec4d45c39bbfe292d8084e2e8e1910c2 (patch) | |
| tree | 5d74c59229d3ca0dd515d411305d10bad10400ce /vault.py | |
| parent | ef93a0e32c06b3133884c17c5d5265ac0e138f6e (diff) | |
| download | mitjafelicijan.com-5dbfb0ecec4d45c39bbfe292d8084e2e8e1910c2.tar.gz | |
Made the side more retro!
Diffstat (limited to 'vault.py')
| -rw-r--r-- | vault.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | ||
