dont fallback to icons for waveforms

This commit is contained in:
ed 2022-10-09 00:38:56 +02:00
parent 69406d4344
commit e788f098e2
2 changed files with 5 additions and 0 deletions

View file

@ -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):

View file

@ -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"]}