diff options
| author | 2020-03-08 14:14:00 +0000 | |
|---|---|---|
| committer | 2020-03-08 14:14:00 +0000 | |
| commit | 49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch) | |
| tree | f89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /modules/tweets/format.py | |
| parent | add 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.py | 2 |
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) |
