From 21be82ef8bd64e74583f58a17070fef0a50cf096 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 3 Oct 2024 22:19:32 +0200 Subject: [PATCH] fix #101 (show logues even if dotfiles are hidden) --- copyparty/httpcli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index ca1e31ca..bc21e036 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -5165,14 +5165,14 @@ class HttpCli(object): except: pass + lnames = {x.lower(): x for x in ls_names} + # show dotfiles if permitted and requested if not self.can_dot or ( "dots" not in self.uparam and (is_ls or "dots" not in self.cookies) ): ls_names = exclude_dotfiles(ls_names) - lnames = {x.lower(): x for x in ls_names} - add_dk = vf.get("dk") add_fk = vf.get("fk") fk_alg = 2 if "fka" in vf else 1