diff options
| author | 2019-11-25 05:55:22 +0000 | |
|---|---|---|
| committer | 2019-11-25 05:55:22 +0000 | |
| commit | 7f7a31720c13e3dc4daec0b44779ee09646526fe (patch) | |
| tree | 9021b7949944f9c202ce39609b4128e27a732b4d | |
| parent | switch all hide_prefix() calls to `.prefix = None` (diff) | |
| signature | ||
`USERAGENT` no longer exists
| -rw-r--r-- | modules/fediverse/ap_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
