fix publishing

pull/225/head
Aevann 2024-03-09 14:05:02 +02:00
parent 5120413f43
commit c18cac1b70
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def publish(pid, v):
execute_snappy(p, v)
if flag_effortpost and not (SITE_NAME == 'WPD' and v.truescore < 500):
if p.effortpost and not (SITE_NAME == 'WPD' and v.truescore < 500):
body = f"@{v.username} has requested that {p.textlink} be marked as an effortpost!"
alert_admins(body)