mirror of
https://github.com/PC-Admin/matrix-moderation-tool.git
synced 2024-12-19 07:00:27 -05:00
add debug line
This commit is contained in:
parent
56373d68db
commit
adc32b2b27
@ -258,6 +258,7 @@ def lookup_homeserver_admin(preset_baseurl):
|
|||||||
# If the request was successful, the status code will be 200
|
# If the request was successful, the status code will be 200
|
||||||
if response.status_code == 200 and ( "email_address" in response.text or "matrix_id" in response.text ):
|
if response.status_code == 200 and ( "email_address" in response.text or "matrix_id" in response.text ):
|
||||||
# Parse the response as JSON
|
# Parse the response as JSON
|
||||||
|
print(response.text)
|
||||||
data = json.loads(response.text)
|
data = json.loads(response.text)
|
||||||
|
|
||||||
#print("\nAdmin contact details for " + baseurl + " are: " + str(data))
|
#print("\nAdmin contact details for " + baseurl + " are: " + str(data))
|
||||||
|
Loading…
Reference in New Issue
Block a user