From 36abb0b397e49117746cd7e3b36953c94daba58b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 15 Feb 2024 23:59:47 +0200 Subject: [PATCH] confused as hell --- files/routes/posts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index a9665ca70..ac8163e25 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -63,8 +63,8 @@ def publish(pid, v): g.db.add(p) p.chudded = v.chud and p.hole != 'chudrama' and not (p.is_longpost and not v.chudded_by) - p.queened = (v.queen and not p.is_longpost) - print('bool: ', (v.queen and not p.is_longpost), flush=True) + p.queened = bool(v.queen and not p.is_longpost) + print('bool: ', bool(v.queen and not p.is_longpost), flush=True) print(p.queened, flush=True) p.sharpened = v.sharpen and not p.is_longpost p.rainbowed = v.rainbow and not p.is_longpost