From 3d4166e0063c2037068a7f5e806078421491df9c Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 31 Jul 2021 10:51:18 +0200 Subject: [PATCH] dont thumbnail thumbnails --- copyparty/th_cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copyparty/th_cli.py b/copyparty/th_cli.py index 61a38c34..32ded2f8 100644 --- a/copyparty/th_cli.py +++ b/copyparty/th_cli.py @@ -26,6 +26,9 @@ class ThumbCli(object): if is_vid and self.args.no_vthumb: return None + if rem.startswith(".hist/th/") and rem.split(".")[-1] in ["webp", "jpg"]: + return os.path.join(ptop, rem) + if fmt == "j" and self.args.th_no_jpg: fmt = "w"