forked from DebaucheryLibrarian/traxxx
Fixed animated poster being overwritten as jpeg.
This commit is contained in:
parent
d0648b5006
commit
3961f83ef6
|
@ -339,6 +339,8 @@ async function writeImage(image, media, info, filepath, isProcessed) {
|
||||||
await image
|
await image
|
||||||
.webp()
|
.webp()
|
||||||
.toFile(path.join(config.media.path, filepath));
|
.toFile(path.join(config.media.path, filepath));
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isProcessed) {
|
if (isProcessed) {
|
||||||
|
|
Loading…
Reference in New Issue