mirror of https://gitlab.com/bashrc2/epicyon
Remove debug
parent
a5cb7f09c9
commit
5aac5f3a55
|
@ -10874,11 +10874,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# was the citations button pressed on the newblog screen?
|
# was the citations button pressed on the newblog screen?
|
||||||
citationsButtonPress = False
|
citationsButtonPress = False
|
||||||
if postType == 'newblog' and fields.get('submitCitations'):
|
if postType == 'newblog' and fields.get('submitCitations'):
|
||||||
print('citationstest: 0a ' + fields['submitCitations'])
|
|
||||||
if fields['submitCitations'] == \
|
if fields['submitCitations'] == \
|
||||||
self.server.translate['Citations']:
|
self.server.translate['Citations']:
|
||||||
citationsButtonPress = True
|
citationsButtonPress = True
|
||||||
print('citationstest: 0b ' + str(citationsButtonPress))
|
|
||||||
|
|
||||||
if not citationsButtonPress:
|
if not citationsButtonPress:
|
||||||
# process the received text fields from the POST
|
# process the received text fields from the POST
|
||||||
|
@ -10969,7 +10967,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
return -1
|
return -1
|
||||||
elif postType == 'newblog':
|
elif postType == 'newblog':
|
||||||
print('citationstest: 1 ' + str(citationsButtonPress))
|
|
||||||
# citations button on newblog screen
|
# citations button on newblog screen
|
||||||
if citationsButtonPress:
|
if citationsButtonPress:
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
@ -10985,9 +10982,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fields['message'],
|
fields['message'],
|
||||||
filename, attachmentMediaType,
|
filename, attachmentMediaType,
|
||||||
fields['imageDescription'])
|
fields['imageDescription'])
|
||||||
print('citationstest: 2')
|
|
||||||
if messageJson:
|
if messageJson:
|
||||||
print('citationstest: 3 ' + str(messageJson))
|
|
||||||
messageJson = messageJson.encode('utf-8')
|
messageJson = messageJson.encode('utf-8')
|
||||||
self._set_headers('text/html',
|
self._set_headers('text/html',
|
||||||
len(messageJson),
|
len(messageJson),
|
||||||
|
@ -10995,7 +10990,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._write(messageJson)
|
self._write(messageJson)
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
print('citationstest: 4')
|
|
||||||
return -1
|
return -1
|
||||||
# submit button on newblog screen
|
# submit button on newblog screen
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
|
Loading…
Reference in New Issue