From e13295fba6c7d3ba665f9e30234a7d6a18ab643e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Feb 2021 13:16:24 +0000 Subject: [PATCH] Only accept new blog posts if they have a title --- daemon.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon.py b/daemon.py index 7afb725b9..fd1f18111 100644 --- a/daemon.py +++ b/daemon.py @@ -12393,6 +12393,9 @@ class PubServer(BaseHTTPRequestHandler): else: return -1 elif postType == 'newblog': + if not fields['subject']: + print('WARN: blog posts must have a title') + return -1 # citations button on newblog screen if citationsButtonPress: messageJson = \