debug line

This commit is contained in:
Camille Frantz 2025-06-05 19:18:43 +00:00
parent 2e3c034eed
commit b412eafc97
Signed by: fyrfli
SSH Key Fingerprint: SHA256:0rb3/fMYNySVgUgOqOdmFnb+qhrk1C0Rc/Ak3AoyJug

3
app.py
View File

@ -18,4 +18,5 @@ if source_object.reason == "OK":
headers = {'Authorization': 'Bearer ' + post_token}
payload = {'status': f"{choice['quote']}\n\n - {choice['author']}\n\n#RandomQuote #quotes #quote #bot", 'visibility': 'public'}
response = post(post_endpoint, headers=headers, data=payload)
print(response.reason, loads(response.text)['url'])
print(response.reason)
print(loads(response.text)['url'])