Don't load the generated config as the default.

It's too confusing.
This commit is contained in:
Richard van der Hoff 2019-06-22 00:00:20 +01:00
parent 7c2f8881a9
commit 16b52642e2
29 changed files with 60 additions and 94 deletions

View file

@ -26,7 +26,7 @@ class SpamCheckerConfig(Config):
if provider is not None:
self.spam_checker = load_module(provider)
def default_config(self, **kwargs):
def generate_config_section(self, **kwargs):
return """\
#spam_checker:
# module: "my_custom_project.SuperSpamChecker"