diff --git a/bookwyrm/views/inbox.py b/bookwyrm/views/inbox.py index 4771fe2d..a8eb4851 100644 --- a/bookwyrm/views/inbox.py +++ b/bookwyrm/views/inbox.py @@ -73,7 +73,7 @@ def is_blocked_user_agent(request): url = re.search(r"https?://{:s}/?".format(regex.domain), user_agent) if not url: return False - url = url.groups() + url = url.group() return models.FederatedServer.is_blocked(url)