From 926c6e814d9b50c7a5732081b5d1ca789cd17ca8 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 25 May 2026 10:17:03 +0000 Subject: [PATCH] embedded-cover crop-control; closes #1474 --- copyparty/th_srv.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/copyparty/th_srv.py b/copyparty/th_srv.py index e63ce14e..21896a04 100644 --- a/copyparty/th_srv.py +++ b/copyparty/th_srv.py @@ -230,11 +230,6 @@ def thumb_path(histpath: str, rem: str, mtime: float, fmt: str, ffa: set[str]) - if not rd: rd = "\ntop" - # spectrograms are never cropped; strip fullsize flag - ext = rem.split(".")[-1].lower() - if ext in ffa and fmt[:2] in ("wf", "jf", "xf"): - fmt = fmt.replace("f", "") - dcache = th_dir_cache rd_key = rd + "\n" + fmt rd = dcache.get(rd_key)