From 7f7a31720c13e3dc4daec0b44779ee09646526fe Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 25 Nov 2019 05:55:22 +0000 Subject: [PATCH] `USERAGENT` no longer exists --- modules/fediverse/ap_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fediverse/ap_utils.py b/modules/fediverse/ap_utils.py index a2191014..bedc2f1b 100644 --- a/modules/fediverse/ap_utils.py +++ b/modules/fediverse/ap_utils.py @@ -39,7 +39,7 @@ class FindActorException(Exception): def find_actor(username, instance): hostmeta = HOSTMETA_TEMPLATE % instance hostmeta_request = utils.http.Request(HOSTMETA_TEMPLATE % instance, - useragent=USERAGENT, parse=True, check_content_type=False) + parse=True, check_content_type=False) try: hostmeta = utils.http.request(hostmeta_request) except: