mirror of https://gitlab.com/bashrc2/epicyon
Missing get
parent
8d3ec4a0cc
commit
a421e78b74
|
@ -6699,7 +6699,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
print('EX: unable to write bold reading ' +
|
||||
bold_reading_filename)
|
||||
if not bold_reading:
|
||||
if self.server.bold_reading[nickname]:
|
||||
if self.server.bold_reading.get(nickname):
|
||||
del self.server.bold_reading[nickname]
|
||||
if os.path.isfile(bold_reading_filename):
|
||||
try:
|
||||
|
|
|
@ -2186,7 +2186,7 @@ def html_edit_profile(server, css_cache: {}, translate: {},
|
|||
domain_full = get_full_domain(domain, port)
|
||||
|
||||
bold_reading = False
|
||||
if server.bold_reading[nickname]:
|
||||
if server.bold_reading.get(nickname):
|
||||
bold_reading = True
|
||||
|
||||
actor_filename = acct_dir(base_dir, nickname, domain) + '.json'
|
||||
|
|
Loading…
Reference in New Issue