mirror of
https://github.com/9001/copyparty.git
synced 2025-10-02 14:42:28 -06:00
thumb: fix misleading error message
ffmpeg can also be used to thumbnail image files
This commit is contained in:
parent
e8309c3e99
commit
11860d5369
|
@ -695,7 +695,7 @@ class ThumbSrv(object):
|
|||
return
|
||||
|
||||
c: Union[str, int] = "90"
|
||||
t = "FFmpeg failed (probably a corrupt video file):\n"
|
||||
t = "FFmpeg failed (probably a corrupt file):\n"
|
||||
if (
|
||||
(not self.args.th_ff_jpg or time.time() - int(self.args.th_ff_jpg) < 60)
|
||||
and cmd[-1].lower().endswith(b".webp")
|
||||
|
|
Loading…
Reference in a new issue