merge-requests/30/head
Bob Mottram 2024-05-09 13:19:48 +01:00
parent c698c46af4
commit 92964ef0ce
1 changed files with 1 additions and 2 deletions

View File

@ -442,8 +442,7 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {},
cookie, calling_domain, False)
write2(self, message_json)
return 1
else:
return -1
return -1
if not fields['subject']:
print('WARN: blog posts must have a title')
return -1