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/title.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/title.py') diff --git a/modules/title.py b/modules/title.py index df05546e..526a8131 100644 --- a/modules/title.py +++ b/modules/title.py @@ -71,7 +71,7 @@ class Module(ModuleManager.BaseModule): return -2, title if channel.get_setting("title-shorten", False): - short_url = self.exports.get_one("shorturl")(server, url, + short_url = self.exports.get("shorturl")(server, url, context=channel) return page.code, "%s - %s" % (title, short_url) return page.code, title -- cgit v1.3.1-10-gc9f91