debug line
This commit is contained in:
parent
2e3c034eed
commit
b412eafc97
3
app.py
3
app.py
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user