A community-maintained Python framework for creating mathematical animations.
Simplify an "if" statement.
Aathishfab37053abba
diff --git a/manim/config.py b/manim/config.pyindex c12df46ee..31e4ed074 100644--- a/manim/config.py+++ b/manim/config.py@@ -69,7 +69,7 @@ def _parse_config(config_parser, args):# Handle the --tex_template flag. Note we accept None if the flag is absentfilename = (- os.path.expanduser(args.tex_template) if args.tex_template is not None else None+ os.path.expanduser(args.tex_template) if args.tex_template else None)if filename is not None and not os.access(filename, os.R_OK):