mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
dont thumbnail thumbnails
This commit is contained in:
parent
07bac1c592
commit
3d4166e006
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue