mirror of https://gitlab.com/bashrc2/epicyon
show votes flag
parent
76a43df0ff
commit
dceffe67be
|
@ -7581,9 +7581,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.reverse_sequence)
|
self.server.reverse_sequence)
|
||||||
|
|
||||||
# show poll/vote/question posts checkbox
|
# show poll/vote/question posts checkbox
|
||||||
show_vote_posts = True
|
|
||||||
if fields.get('showVotes'):
|
|
||||||
show_vote_posts = False
|
show_vote_posts = False
|
||||||
|
if fields.get('showVotes'):
|
||||||
if fields['showVotes'] == 'on':
|
if fields['showVotes'] == 'on':
|
||||||
show_vote_posts = True
|
show_vote_posts = True
|
||||||
account_dir = acct_dir(self.server.base_dir,
|
account_dir = acct_dir(self.server.base_dir,
|
||||||
|
|
Loading…
Reference in New Issue