diff --git a/social_posts.py b/social_posts.py index 7b88cbc..baf42d2 100644 --- a/social_posts.py +++ b/social_posts.py @@ -90,7 +90,7 @@ def getTwitterPosts(): image = '' if tweet.media: image = tweet.media[0].media_url - uploadImage(image, tweet.id_str) + image = uploadImage(image, tweet.id_str) insertIntoDatabase('Twitter', content, url, author, authorUrl, published, image, originalID)