Allow empty messages if they contain an image with a description

master
Bob Mottram 2019-09-04 21:58:25 +01:00
parent 6ea7b8deb1
commit f27ad3db04
1 changed files with 1 additions and 1 deletions

View File

@ -2066,7 +2066,7 @@ class PubServer(BaseHTTPRequestHandler):
filename=None
# send the post
if not fields.get('message'):
if not fields.get('message') and not fields.get('imageDescription'):
return -1,pageNumber
if fields.get('submitPost'):
if fields['submitPost']!='Submit':