OptionsSetting ctor should have empty options
when using options_factory
This commit is contained in:
parent
a64d577644
commit
cb07a5d708
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
self.exports.add("shorturl-s-bitly", self._bitly)
|
||||
|
||||
setting = utils.OptionsSetting("url-shortener",
|
||||
setting = utils.OptionsSetting("url-shortener", [],
|
||||
"Set URL shortener service",
|
||||
options_factory=self._shorturl_options_factory)
|
||||
self.exports.add("serverset", setting)
|
||||
|
|
Loading…
Reference in a new issue