From cc9edc6adb0c9b537889ecfaed47450af8b37675 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 24 Apr 2019 15:37:14 +0100 Subject: [PATCH] `link` -> `url` --- modules/isgd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/isgd.py b/modules/isgd.py index b4a918fd..b97af5b1 100644 --- a/modules/isgd.py +++ b/modules/isgd.py @@ -34,7 +34,7 @@ class Module(ModuleManager.BaseModule): if not url: raise utils.EventError("No URL provided/found.") - if link: + if url: event["stdout"].write("Shortened URL: %s" % self._shortlink(url)) else: event["stderr"].write("Unable to shorten that URL.")