From 8f0114bc26d0d9b6b2dd9f63e28f38d6bfb3a02b Mon Sep 17 00:00:00 2001 From: Asher Norland Date: Sun, 23 Oct 2022 20:08:56 -0400 Subject: [PATCH] Fix Error Log --- cppython/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cppython/builder.py b/cppython/builder.py index ab552d4..d62d39a 100644 --- a/cppython/builder.py +++ b/cppython/builder.py @@ -245,12 +245,14 @@ def create_generator( table = generator_configuration.get(name, {}) - if name not in generator_configuration.values(): + if name not in generator_configuration.keys(): self.logger.error( "The pyproject.toml table 'tool.cppython.generator.%s' does not exist. Sending generator empty data", name, ) + self.logger.debug("The key '%s' does not found in these keys '%s'", name, generator_configuration.keys()) + generator_data = resolve_generator(core_data.project_data) cppython_plugin_data = resolve_cppython_plugin(core_data.cppython_data, supported_plugin_type)