link
-> url
This commit is contained in:
parent
50e3206a9f
commit
cc9edc6adb
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue