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