From a1d05e6e12e58bce7d756ada77fcfc5f4c9ab9aa Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 20 Aug 2021 19:22:25 +0200 Subject: [PATCH] folder thumbnail fix --- copyparty/httpcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 7a3b309f..0951adc5 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -1782,7 +1782,7 @@ class HttpCli(object): for fn in self.args.th_covers.split(","): fp = os.path.join(abspath, fn) if bos.path.exists(fp): - vrem = "{}/{}".format(vrem.rstrip("/"), fn) + vrem = "{}/{}".format(vrem.rstrip("/"), fn).strip("/") is_dir = False break