From 78f62eef7d28c0d4bdf364ded6c5479eb600ee7c Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Fri, 13 Dec 2024 09:21:38 -0600 Subject: [PATCH] Minor stylistic tweak --- manimlib/utils/tex_file_writing.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/manimlib/utils/tex_file_writing.py b/manimlib/utils/tex_file_writing.py index 71872ce0..2778a0dc 100644 --- a/manimlib/utils/tex_file_writing.py +++ b/manimlib/utils/tex_file_writing.py @@ -22,10 +22,7 @@ def get_tex_template_config(template_name: str) -> dict[str, str]: with open(template_path, encoding="utf-8") as tex_templates_file: templates_dict = yaml.safe_load(tex_templates_file) if name not in templates_dict: - log.warning( - "Cannot recognize template '%s', falling back to 'default'.", - name - ) + log.warning(f"Cannot recognize template {name}, falling back to 'default'.") name = "default" return templates_dict[name]