Remove debug prints

This commit is contained in:
jesopo 2019-08-05 15:44:57 +01:00
parent 357abba00d
commit 99c16ab4b8

View file

@ -24,7 +24,6 @@ class Module(ModuleManager.BaseModule):
hostmeta = utils.http.request(HOSTMETA % instance, hostmeta = utils.http.request(HOSTMETA % instance,
soup=True, check_content_type=False) soup=True, check_content_type=False)
print(hostmeta.data)
webfinger_url = None webfinger_url = None
for item in hostmeta.data.find_all("link"): for item in hostmeta.data.find_all("link"):
if item["rel"] and item["rel"][0] == "lrdd": if item["rel"] and item["rel"][0] == "lrdd":
@ -41,7 +40,6 @@ class Module(ModuleManager.BaseModule):
headers=WEBFINGER_HEADERS, headers=WEBFINGER_HEADERS,
get_params={"resource": "acct:%s" % full_username}, get_params={"resource": "acct:%s" % full_username},
json=True) json=True)
print(webfinger.data)
activity_url = None activity_url = None
for link in webfinger.data["links"]: for link in webfinger.data["links"]: