aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/__init__.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/git_webhooks/__init__.py
parentadd space between command and usage string (diff)
signature
exports.get_one() -> exports.get()
Diffstat (limited to 'modules/git_webhooks/__init__.py')
-rw-r--r--modules/git_webhooks/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/__init__.py b/modules/git_webhooks/__init__.py
index b87f0665..44d9b5dc 100644
--- a/modules/git_webhooks/__init__.py
+++ b/modules/git_webhooks/__init__.py
@@ -138,7 +138,7 @@ class Module(ModuleManager.BaseModule):
if url:
if channel.get_setting("git-shorten-urls", False):
- url = self.exports.get_one("shorturl")(server, url,
+ url = self.exports.get("shorturl")(server, url,
context=channel) or url
output = "%s - %s" % (output, url)