From cb07a5d7086c834762065e4e704286172da416a5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 29 Jun 2019 23:23:57 +0100 Subject: [PATCH] OptionsSetting ctor should have empty `options` when using options_factory --- modules/shorturl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shorturl.py b/modules/shorturl.py index e4890ecf..49998ac4 100644 --- a/modules/shorturl.py +++ b/modules/shorturl.py @@ -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)