From cc21cc8966b549f8eaad5fc985ec76fa664a5aa1 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Fri, 1 May 2026 20:36:34 +0200 Subject: [PATCH] remove placeholder "---" file type of directories --- copyparty/httpcli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 37f99834..156c2ef6 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -6642,7 +6642,7 @@ class HttpCli(object): { "lead": "", "href": "%s/" % (x,), - "ext": "---", + "ext": "", "sz": 0, "ts": 0, "tags": e_d, @@ -7263,7 +7263,7 @@ class HttpCli(object): ) if is_dir: - ext = "---" + ext = "" elif "." in fn: ext = ptn_hr.sub("@", fn.rsplit(".", 1)[1]) if len(ext) > 16: