aboutsummaryrefslogtreecommitdiff
path: root/modules/tweets/format.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-03-08 14:14:00 +0000
committerGravatar jesopo2020-03-08 14:14:00 +0000
commit49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch)
treef89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /modules/tweets/format.py
parentadd space between command and usage string (diff)
signature
exports.get_one() -> exports.get()
Diffstat (limited to 'modules/tweets/format.py')
-rw-r--r--modules/tweets/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tweets/format.py b/modules/tweets/format.py
index 540e7638..9648dc51 100644
--- a/modules/tweets/format.py
+++ b/modules/tweets/format.py
@@ -23,7 +23,7 @@ def _tweet(exports, server, tweet, from_url):
short_url = ""
if not from_url:
- short_url = exports.get_one("shorturl")(server, tweet_link)
+ short_url = exports.get("shorturl")(server, tweet_link)
short_url = " - %s" % short_url if short_url else ""
created_at = _timestamp(tweet.created_at)