mirror of
https://github.com/3b1b/manim.git
synced 2025-08-21 05:44:04 +00:00
Minor stylistic tweak
This commit is contained in:
parent
67409f4d32
commit
78f62eef7d
1 changed files with 1 additions and 4 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue