forked from indymedia/epicyon
Clearer logic
parent
e5b5928a64
commit
80f4692813
|
@ -10880,14 +10880,13 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
citationsButtonPress = True
|
||||
print('citationstest: 0b ' + str(citationsButtonPress))
|
||||
|
||||
if not citationsButtonPress:
|
||||
# process the received text fields from the POST
|
||||
if not fields.get('message') and \
|
||||
not fields.get('imageDescription'):
|
||||
if not citationsButtonPress:
|
||||
return -1
|
||||
if fields.get('submitPost'):
|
||||
if fields['submitPost'] != self.server.translate['Submit']:
|
||||
if not citationsButtonPress:
|
||||
return -1
|
||||
else:
|
||||
return 2
|
||||
|
|
Loading…
Reference in New Issue