More debug

main
Bob Mottram 2020-11-05 23:12:05 +00:00
parent 239c0f2dd2
commit e5b5928a64
1 changed files with 2 additions and 0 deletions

View File

@ -10874,9 +10874,11 @@ class PubServer(BaseHTTPRequestHandler):
# was the citations button pressed on the newblog screen?
citationsButtonPress = False
if postType == 'newblog' and fields.get('submitCitations'):
print('citationstest: 0a ' + fields['submitCitations'])
if fields['submitCitations'] == \
self.server.translate['Citations']:
citationsButtonPress = True
print('citationstest: 0b ' + str(citationsButtonPress))
# process the received text fields from the POST
if not fields.get('message') and \