diff --git a/files/routes/posts.py b/files/routes/posts.py index 8ac084cc4..7889d49ee 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -770,7 +770,7 @@ def submit_post(v, sub=None): if embed and len(embed) > 1500: embed = None - ghost = (request.values.get("ghost") == "on") + ghost = bool(request.values.get("ghost")) if embed: embed = embed.strip()