mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
ec3b9cacf8
commit
8c328849d4
|
@ -9864,7 +9864,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self._404()
|
||||
return
|
||||
|
||||
delete_url = delete_url.replace('/', '#')
|
||||
delete_str = \
|
||||
html_confirm_delete(self.server.css_cache,
|
||||
self.server.recent_posts_cache,
|
||||
|
|
2
utils.py
2
utils.py
|
@ -1383,6 +1383,8 @@ def locate_post(base_dir: str, nickname: str, domain: str,
|
|||
account_dir = acct_dir(base_dir, nickname, domain) + '/'
|
||||
for box_name in boxes:
|
||||
post_filename = account_dir + box_name + '/' + post_url
|
||||
if box_name == 'outbox':
|
||||
print('locate_post filename: ' + post_filename)
|
||||
if os.path.isfile(post_filename):
|
||||
return post_filename
|
||||
|
||||
|
|
Loading…
Reference in New Issue