From 7d63f1707a5af3210b0328f0c5cd858a3f1c4004 Mon Sep 17 00:00:00 2001 From: Joakim Holm Date: Wed, 3 May 2023 13:55:04 +0200 Subject: [PATCH] Change 'source' in config to 'sources' --- grawlix/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grawlix/config.py b/grawlix/config.py index a11e358..4599fea 100644 --- a/grawlix/config.py +++ b/grawlix/config.py @@ -34,7 +34,7 @@ def load_config() -> Config: config_dict = {} sources = {} if "source" in config_dict: - for key, values in config_dict["source"].items(): + for key, values in config_dict["sources"].items(): sources[key] = SourceConfig ( username = values.get("username"), password = values.get("password"),