From 7fd87863e0c02141e20bf3fa41d12b06efb946e7 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Fri, 18 May 2018 18:25:00 -0700 Subject: [PATCH] Fix bug with posting to Discord --- experiments/tweetBot/tweet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/tweetBot/tweet.py b/experiments/tweetBot/tweet.py index 5f1ed1a5..3000fc99 100755 --- a/experiments/tweetBot/tweet.py +++ b/experiments/tweetBot/tweet.py @@ -65,7 +65,7 @@ def tweet(text, img_path): access_token_key=CONFIG['access_token_key'], access_token_secret=CONFIG['access_token_secret']) status = api.PostUpdate(text, img_path) - return ("https://twitter.com/winampskins/status/%s" % status["id_str"]) + return ("https://twitter.com/winampskins/status/%s" % status.id_str) def find(dir):