Quick fix for social posts script
This commit is contained in:
parent
03495d8a35
commit
621d3e656f
|
@ -90,7 +90,7 @@ def getTwitterPosts():
|
||||||
image = ''
|
image = ''
|
||||||
if tweet.media:
|
if tweet.media:
|
||||||
image = tweet.media[0].media_url
|
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)
|
insertIntoDatabase('Twitter', content, url, author, authorUrl, published, image, originalID)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user