Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

VERBOSE_CHOICES through dict keys from FFMPEG_MAP

azarzadavila794c8e060c03
diff --git a/manim/constants.py b/manim/constants.py
index d5ad0affc..82782a7b0 100644
--- a/manim/constants.py
+++ b/manim/constants.py
@@ -148,7 +148,6 @@ COLOR_MAP.update({name.replace("_C", ""): COLOR_MAP[name]
if name.endswith("_C")})
PALETTE = list(COLOR_MAP.values())
locals().update(COLOR_MAP)
-VERBOSE_CHOICES = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
VERBOSE_FFMPEG_MAP = {
"DEBUG": "error",
"INFO": "error",
@@ -156,3 +155,4 @@ VERBOSE_FFMPEG_MAP = {
"ERROR": "error",
"CRITICAL": "fatal",
}
+VERBOSE_CHOICES = VERBOSE_FFMPEG_MAP.keys()