slight tweaks before merge

Signed-off-by: ed <s@ocv.me>
This commit is contained in:
ed 2025-08-11 17:27:12 +00:00 committed by GitHub
parent fa73e84075
commit 69c495248b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -317,7 +317,6 @@ class SvcHub(object):
self._feature_test() self._feature_test()
self.log("initial th_dec", self.args.th_dec)
decs = {k: 1 for k in self.args.th_dec.split(",")} decs = {k: 1 for k in self.args.th_dec.split(",")}
if not HAVE_VIPS: if not HAVE_VIPS:
decs.pop("vips", None) decs.pop("vips", None)
@ -347,7 +346,7 @@ class SvcHub(object):
self.thumbsrv = ThumbSrv(self) self.thumbsrv = ThumbSrv(self)
else: else:
want_ff = True want_ff = True
msg = "need either Pillow, pyvips, rawpy, or FFmpeg to create thumbnails; for example:\n{0}{1} -m pip install --user Pillow\n{0}{1} -m pip install --user pyvips\n{0}apt install ffmpeg" msg = "need either Pillow, pyvips, or FFmpeg to create thumbnails; for example:\n{0}{1} -m pip install --user Pillow\n{0}{1} -m pip install --user pyvips\n{0}apt install ffmpeg"
msg = msg.format(" " * 37, os.path.basename(pybin)) msg = msg.format(" " * 37, os.path.basename(pybin))
if EXE: if EXE:
msg = "copyparty.exe cannot use Pillow or pyvips; need ffprobe.exe and ffmpeg.exe to create thumbnails" msg = "copyparty.exe cannot use Pillow or pyvips; need ffprobe.exe and ffmpeg.exe to create thumbnails"