aboutsummaryrefslogtreecommitdiff
path: root/modules/tweets.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-09-09 13:34:32 +0100
committerGravatar dongfix2018-09-09 13:34:32 +0100
commita5ff20fca32b73a6f403be98547fd47f785ba12b (patch)
tree0a1f7ab41baf38a596ab7d53418e7336619f7830 /modules/tweets.py
parenth8 everything right now (diff)
signature
i dun fixed it!
Diffstat (limited to 'modules/tweets.py')
-rw-r--r--modules/tweets.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/tweets.py b/modules/tweets.py
index 72358899..8b0ebd76 100644
--- a/modules/tweets.py
+++ b/modules/tweets.py
@@ -73,8 +73,9 @@ class Module(object):
tweet_link = "https://twitter.com/%s/status/%s" % (
chopped_uname, linked_id)
- bitly_link = " -- " + self.events.call("get.shortlink",
- url=tweet_link)
+ bitly_link = " -- " + self.events.on("get").on(
+ "shortlink").call(
+ url=tweet_link)[0]
if "retweeted_status" in tweet:
original_username = "@%s" % tweet["retweeted_status"