remove redundant (and maybe wrong) GET params from webfinger call
closes #143
This commit is contained in:
parent
b1033a0721
commit
98931de283
1 changed files with 1 additions and 3 deletions
|
@ -61,9 +61,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
webfinger_url = webfinger_url.replace("{uri}", "acct:%s" % account)
|
webfinger_url = webfinger_url.replace("{uri}", "acct:%s" % account)
|
||||||
|
|
||||||
webfinger = utils.http.request(webfinger_url,
|
webfinger = utils.http.request(webfinger_url,
|
||||||
headers=WEBFINGER_HEADERS,
|
headers=WEBFINGER_HEADERS, json=True)
|
||||||
get_params={"resource": "acct:%s" % account},
|
|
||||||
json=True)
|
|
||||||
|
|
||||||
activity_url = None
|
activity_url = None
|
||||||
for link in webfinger.data["links"]:
|
for link in webfinger.data["links"]:
|
||||||
|
|
Loading…
Reference in a new issue