A community-maintained Python framework for creating mathematical animations.
progress_bar independant on verbose flag
azarzadavila6209cdf3b78d
diff --git a/manim/utils/config_utils.py b/manim/utils/config_utils.pyindex ada0a3446..d9be9661e 100644--- a/manim/utils/config_utils.py+++ b/manim/utils/config_utils.py@@ -127,14 +127,10 @@ def _parse_file_writer_config(config_parser, args):fw_config["verbose"] = verboseffmpeg_loglevel = config_parser["ffmpeg"].get("loglevel", None)fw_config["ffmpeg_loglevel"] = constants.VERBOSE_FFMPEG_MAP[verbose] if ffmpeg_loglevel is None else ffmpeg_loglevel- if verbose in ["DEBUG", "INFO"]:- progress_bar_v = True- else:- progress_bar_v = Falseprogress_bar = getattr(args, "progress_bar")if progress_bar is None:- progress_bar = default.getboolean("progress_bar", None)- fw_config["progress_bar"] = progress_bar_v if progress_bar is None else progress_bar+ progress_bar = default.getboolean("progress_bar")+ fw_config["progress_bar"] = progress_barreturn fw_config