From b000ec20105aa5c5975bdd4544778bfd2620f5ab Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Sun, 8 Jun 2025 14:52:59 -0500 Subject: [PATCH] debugging --- dog_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dog_facts.py b/dog_facts.py index 74bcbaf..d611830 100644 --- a/dog_facts.py +++ b/dog_facts.py @@ -26,8 +26,8 @@ print(api_url) print(po_user_token, po_test_token) response = get(api_url) if response.reason == "OK": - print(dog_fact) dog_fact = DefaultMunch.fromDict(loads(response.text)['data'][0]) + print(dog_fact) payload = {"status": f"didja know: \n {dog_fact.attributes.body}\n#RandomDogFacts", "visibility": "mutuals_only"} response = post(post_endpoint, headers=headers, json=payload) if response.reason == "OK":