A community-maintained Python framework for creating mathematical animations.
I'll be black
leotrs7a15349725a4
diff --git a/manim/config/utils.py b/manim/config/utils.pyindex a8d60734a..73e0c3956 100644--- a/manim/config/utils.py+++ b/manim/config/utils.py@@ -187,58 +187,57 @@ class ManimConfig(MutableMapping):c = ManimConfig(self._parser)for opt in [- "background_color",- "background_opacity",- "custom_folders",- "disable_caching",- "ffmpeg_loglevel",- "flush_cache",- "frame_height",- "frame_rate",- "frame_width",- "from_animation_number",- "js_renderer_path",- "leave_progress_bars",- "log_to_file",- "max_files_cached",- "movie_file_extension",- "pixel_height",- "pixel_width",- "png_mode",- "preview",- "progress_bar",- "save_as_gif",- "save_last_frame",- "save_pngs",- "scene_names",- "show_in_file_browser",- "skip_animations",- "sound",- "tex_template_file",- "upto_animation_number",- "use_js_renderer",- "verbosity",- "write_all",- "write_to_movie"+ "background_color",+ "background_opacity",+ "custom_folders",+ "disable_caching",+ "ffmpeg_loglevel",+ "flush_cache",+ "frame_height",+ "frame_rate",+ "frame_width",+ "from_animation_number",+ "js_renderer_path",+ "leave_progress_bars",+ "log_to_file",+ "max_files_cached",+ "movie_file_extension",+ "pixel_height",+ "pixel_width",+ "png_mode",+ "preview",+ "progress_bar",+ "save_as_gif",+ "save_last_frame",+ "save_pngs",+ "scene_names",+ "show_in_file_browser",+ "skip_animations",+ "sound",+ "tex_template_file",+ "upto_animation_number",+ "use_js_renderer",+ "verbosity",+ "write_all",+ "write_to_movie",]:setattr(c, opt, getattr(self, opt))# setattr() on the following options actually returns something# different to their stored value, so we need to get the actual valuefor opt in [- "media_dir",- "input_file",- "images_dir",- "log_dir",- "tex_dir",- "text_dir",- "video_dir",+ "media_dir",+ "input_file",+ "images_dir",+ "log_dir",+ "tex_dir",+ "text_dir",+ "video_dir",]:c._d[opt] = self._d[opt]return c-# helper type-checking methodsdef _set_from_list(self, key, val, values):if val in values: