Fix spoiler check

This commit is contained in:
blankie 2022-08-24 21:37:51 +07:00
parent 36f2805d60
commit 83ad790162
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ async def main():
if not (nsfw and allow_nsfw):
nsfw = cpp.over_18
if not (spoilers and allow_spoilers):
nsfw = cpp.spoiler
spoilers = cpp.spoiler
if is_self and not allow_selfposts:
continue
if nsfw and not allow_nsfw:
@ -149,7 +149,7 @@ async def main():
if not (nsfw and allow_nsfw):
nsfw = cpp.over_18
if not (spoilers and allow_spoilers):
nsfw = cpp.spoiler
spoilers = cpp.spoiler
if is_self and not allow_selfposts:
continue
if nsfw and not allow_nsfw: