shorturl-any shouldn't need a server
This commit is contained in:
parent
09cfae75b8
commit
2f5d001a79
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
@utils.export("shorturl-any")
|
@utils.export("shorturl-any")
|
||||||
def _shorturl_any(self, url):
|
def _shorturl_any(self, url):
|
||||||
return self._call_shortener(server, None, "bitly", url) or url
|
return self._call_shortener(None, None, "bitly", url) or url
|
||||||
|
|
||||||
@utils.export("shorturl")
|
@utils.export("shorturl")
|
||||||
def _shorturl(self, server, url, context=None):
|
def _shorturl(self, server, url, context=None):
|
||||||
|
|
Loading…
Reference in a new issue