forked from DebaucheryLibrarian/traxxx
Fixed animated poster being overwritten as jpeg.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user