_call_shortener should take 2 more args
This commit is contained in:
parent
0cdd3d5b6c
commit
b3a18da182
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not extended == None:
|
if not extended == None:
|
||||||
return True, extended
|
return True, extended
|
||||||
return False, self.exports.get("shorturl-s-%s" % name, None)
|
return False, self.exports.get("shorturl-s-%s" % name, None)
|
||||||
def _call_shortener(self, shortener_name, url):
|
def _call_shortener(self, server, context, shortener_name, url):
|
||||||
extended, shortener = self._get_shortener(shortener_name)
|
extended, shortener = self._get_shortener(shortener_name)
|
||||||
if shortener == None:
|
if shortener == None:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue