i dun fixed it!
This commit is contained in:
parent
2d4dbf922f
commit
a5ff20fca3
1 changed files with 3 additions and 2 deletions
|
@ -73,8 +73,9 @@ class Module(object):
|
||||||
tweet_link = "https://twitter.com/%s/status/%s" % (
|
tweet_link = "https://twitter.com/%s/status/%s" % (
|
||||||
chopped_uname, linked_id)
|
chopped_uname, linked_id)
|
||||||
|
|
||||||
bitly_link = " -- " + self.events.call("get.shortlink",
|
bitly_link = " -- " + self.events.on("get").on(
|
||||||
url=tweet_link)
|
"shortlink").call(
|
||||||
|
url=tweet_link)[0]
|
||||||
|
|
||||||
if "retweeted_status" in tweet:
|
if "retweeted_status" in tweet:
|
||||||
original_username = "@%s" % tweet["retweeted_status"
|
original_username = "@%s" % tweet["retweeted_status"
|
||||||
|
|
Loading…
Reference in a new issue