From 49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 8 Mar 2020 14:14:00 +0000 Subject: exports.get_one() -> exports.get() --- modules/tweets/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tweets/format.py') 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) -- cgit v1.3.1-10-gc9f91