mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +00:00
cleanup
This commit is contained in:
parent
6960c8d6c0
commit
22b6e6b406
|
@ -42,7 +42,6 @@ class RelayDatabase(dict):
|
||||||
@property
|
@property
|
||||||
def inboxes(self):
|
def inboxes(self):
|
||||||
return tuple(data['inbox'] for data in self['relay-list'].values())
|
return tuple(data['inbox'] for data in self['relay-list'].values())
|
||||||
return self['relay-list']
|
|
||||||
|
|
||||||
|
|
||||||
def generate_key(self):
|
def generate_key(self):
|
||||||
|
|
|
@ -62,7 +62,6 @@ def cli_inbox_follow(actor):
|
||||||
else:
|
else:
|
||||||
domain = urlparse(actor).hostname
|
domain = urlparse(actor).hostname
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
inbox_data = app.database['relay-list'][domain]
|
inbox_data = app.database['relay-list'][domain]
|
||||||
inbox = inbox_data['inbox']
|
inbox = inbox_data['inbox']
|
||||||
|
|
Loading…
Reference in a new issue