From 22b6e6b4063ffbdc11f1464bb359ed2ec3cc01c2 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Fri, 18 Nov 2022 11:58:27 -0500 Subject: [PATCH] cleanup --- relay/database.py | 1 - relay/manage.py | 1 - 2 files changed, 2 deletions(-) diff --git a/relay/database.py b/relay/database.py index d2d31bf..90b1473 100644 --- a/relay/database.py +++ b/relay/database.py @@ -42,7 +42,6 @@ class RelayDatabase(dict): @property def inboxes(self): return tuple(data['inbox'] for data in self['relay-list'].values()) - return self['relay-list'] def generate_key(self): diff --git a/relay/manage.py b/relay/manage.py index f1c8fb4..2031cb8 100644 --- a/relay/manage.py +++ b/relay/manage.py @@ -62,7 +62,6 @@ def cli_inbox_follow(actor): else: domain = urlparse(actor).hostname - try: inbox_data = app.database['relay-list'][domain] inbox = inbox_data['inbox']