oops
This commit is contained in:
parent
12fc473b48
commit
a1bd9bf038
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ module.exports = {
|
|||
if (post.booru.domain == "gelbooru.com" && post.rating == "s")
|
||||
post.rating = "q";
|
||||
|
||||
const fileName = (post.rating != "g" ? "SPOILER_" : "") + basename(post.fileUrl);
|
||||
const fileName = (!["g", "s"].includes(post.rating) ? "SPOILER_" : "") + basename(post.fileUrl);
|
||||
const ext = extname(fileName).toLowerCase();
|
||||
|
||||
const leadingDescription = [
|
||||
|
|
Loading…
Reference in a new issue