diff options
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 | ||
