mirror of https://gitlab.com/bashrc2/epicyon
Snake case
parent
60302e0697
commit
022ecf1eb8
4
inbox.py
4
inbox.py
|
@ -47,7 +47,7 @@ from utils import isPublicPost
|
|||
from utils import get_cached_post_filename
|
||||
from utils import remove_post_from_cache
|
||||
from utils import urlPermitted
|
||||
from utils import createInboxQueueDir
|
||||
from utils import create_inbox_queue_dir
|
||||
from utils import get_status_number
|
||||
from utils import getDomainFromActor
|
||||
from utils import getNicknameFromActor
|
||||
|
@ -550,7 +550,7 @@ def savePostToInboxQueue(base_dir: str, http_prefix: str,
|
|||
|
||||
# NOTE: don't change post_json_object['id'] before signature check
|
||||
|
||||
inbox_queueDir = createInboxQueueDir(nickname, domain, base_dir)
|
||||
inbox_queueDir = create_inbox_queue_dir(nickname, domain, base_dir)
|
||||
|
||||
handle = nickname + '@' + domain
|
||||
destination = base_dir + '/accounts/' + \
|
||||
|
|
2
utils.py
2
utils.py
|
@ -803,7 +803,7 @@ def create_outbox_dir(nickname: str, domain: str, base_dir: str) -> str:
|
|||
return createPersonDir(nickname, domain, base_dir, 'outbox')
|
||||
|
||||
|
||||
def createInboxQueueDir(nickname: str, domain: str, base_dir: str) -> str:
|
||||
def create_inbox_queue_dir(nickname: str, domain: str, base_dir: str) -> str:
|
||||
"""Create an inbox queue and returns the feed filename and directory
|
||||
"""
|
||||
return createPersonDir(nickname, domain, base_dir, 'queue')
|
||||
|
|
Loading…
Reference in New Issue