mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
dont fallback to icons for waveforms
This commit is contained in:
parent
69406d4344
commit
e788f098e2
|
@ -2532,6 +2532,9 @@ class HttpCli(object):
|
|||
if thp:
|
||||
return self.tx_file(thp)
|
||||
|
||||
if th_fmt == "p":
|
||||
raise Pebkac(404)
|
||||
|
||||
return self.tx_ico(rem)
|
||||
|
||||
if not is_dir and (self.can_read or self.can_get):
|
||||
|
|
|
@ -30,6 +30,8 @@ class ThumbCli(object):
|
|||
|
||||
try:
|
||||
c = hsrv.th_cfg
|
||||
if not c:
|
||||
raise Exception()
|
||||
except:
|
||||
c = {k: {} for k in ["thumbable", "pil", "vips", "ffi", "ffv", "ffa"]}
|
||||
|
||||
|
|
Loading…
Reference in a new issue