mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
44a608a686
commit
76a43df0ff
|
@ -7580,7 +7580,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
save_reverse_timeline(base_dir,
|
||||
self.server.reverse_sequence)
|
||||
|
||||
# show vote posts checkbox
|
||||
# show poll/vote/question posts checkbox
|
||||
show_vote_posts = True
|
||||
if fields.get('showVotes'):
|
||||
show_vote_posts = False
|
||||
|
|
|
@ -2774,8 +2774,7 @@ def html_edit_profile(server, translate: {},
|
|||
|
||||
# whether to show votes
|
||||
show_vote_posts = True
|
||||
show_vote_file = account_dir + '/.noVotes'
|
||||
if os.path.isfile(show_vote_file):
|
||||
if os.path.isfile(account_dir + '/.noVotes'):
|
||||
show_vote_posts = False
|
||||
|
||||
# Option checkboxes
|
||||
|
|
Loading…
Reference in New Issue