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