Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Use getboolean to get value of log.timestamps.

Aathish8b2c13e8bfbb
diff --git a/manim/logger.py b/manim/logger.py
index 69219525e..a2660e54b 100644
--- a/manim/logger.py
+++ b/manim/logger.py
@@ -30,7 +30,7 @@ def parse_theme(fp):
theme["log.height"] = (
None if theme["log.height"] == "-1" else int(theme["log.height"])
)
- theme["log.timestamps"] = False if theme["log.timestamps"] == "False" else True
+ theme['log.timestamps'] = config_parser["logger"].getboolean('log.timestamps')
try:
customTheme = Theme(
{