From 41045ba6735b7db54a8b91a1fab0f71687f65a83 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Feb 2021 14:29:52 +0000 Subject: [PATCH] Check later --- daemon.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/daemon.py b/daemon.py index e24e3d8a9..378006b80 100644 --- a/daemon.py +++ b/daemon.py @@ -12394,12 +12394,6 @@ class PubServer(BaseHTTPRequestHandler): else: return -1 elif postType == 'newblog': - if not fields['subject']: - print('WARN: blog posts must have a title') - return -1 - if not fields['message']: - print('WARN: blog posts must have content') - return -1 # citations button on newblog screen if citationsButtonPress: messageJson = \ @@ -12426,6 +12420,12 @@ class PubServer(BaseHTTPRequestHandler): return 1 else: return -1 + if not fields['subject']: + print('WARN: blog posts must have a title') + return -1 + if not fields['message']: + print('WARN: blog posts must have content') + return -1 # submit button on newblog screen messageJson = \ createBlogPost(self.server.baseDir, nickname,