ui: nicer output

This commit is contained in:
Dobin
2024-02-19 20:06:52 +00:00
parent ab80be8a3d
commit bf310ca343
3 changed files with 6 additions and 3 deletions
+4
View File
@@ -29,6 +29,10 @@ def create_c_from_template(
plugin_decoder = ""
plugin_executor = ""
logger.info("--[ Create C from template: {} {} {} {} {}".format(
source_style, alloc_style, exec_style, decoder_style, payload_len
))
filepath = "plugins/allocator/{}.c".format(alloc_style.value)
with open(filepath, "r", encoding='utf-8') as file:
plugin_allocator = file.read()