From 31812656233da4af63f9f0bb2bada2bbf5107d9f Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 30 Oct 2023 00:11:11 +0100 Subject: [PATCH] fix: Use correct generator namein example config --- app/generator.py | 6 +++--- config.example.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/generator.py b/app/generator.py index 2bf29f8..d8c7e8a 100644 --- a/app/generator.py +++ b/app/generator.py @@ -102,11 +102,11 @@ class ConnectionsGenerator(Generator): super().__init__("connections", api) def generate(self, config, path): - new_social = config["connections"] + new_connections = config["connections"] - social_path = join(path, f"connections.json") + connections_path = join(path, f"connections.json") - write_json(new_social, social_path) + write_json(new_connections, connections_path) class TeamGenerator(Generator): diff --git a/config.example.json b/config.example.json index 41192e3..1cb7432 100644 --- a/config.example.json +++ b/config.example.json @@ -10,9 +10,9 @@ }, { "generators": [ - "social" + "connections" ], - "socials": { + "connections": { "website": "https://yourwebsite.com" } },