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

@ -38,7 +38,7 @@ class DatabaseConfig(Config):
self.set_databasepath(config.get("database_path"))
def default_config(self, data_dir_path, **kwargs):
def generate_config_section(self, data_dir_path, **kwargs):
database_path = os.path.join(data_dir_path, "homeserver.db")
return (
"""\