From dea16e6596e1a7e495b42be0738832f3560c530d Mon Sep 17 00:00:00 2001 From: dbxnr Date: Fri, 12 Feb 2021 02:32:32 +0000 Subject: [PATCH] Remove trailing bracket from directory name (#53) --- jetforce/app/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetforce/app/static.py b/jetforce/app/static.py index e80b0d3..75805e0 100644 --- a/jetforce/app/static.py +++ b/jetforce/app/static.py @@ -235,7 +235,7 @@ class StaticDirectoryApplication(JetforceApplication): """ Auto-generate a text/gemini document based on the contents of the file system. """ - buffer = f"Directory: /{url_path}]\r\n".encode() + buffer = f"Directory: /{url_path}\r\n".encode() if url_path.parent != url_path: buffer += f"=>/{url_path.parent}\t..\r\n".encode()