A community-maintained Python framework for creating mathematical animations.
Exit gracefully if no scene was chosen (#1713)
yit6b78f13edfa51
diff --git a/manim/utils/module_ops.py b/manim/utils/module_ops.pyindex 93ce15203..156d1b31c 100644--- a/manim/utils/module_ops.py+++ b/manim/utils/module_ops.py@@ -115,6 +115,9 @@ def prompt_user_for_choice(scene_classes):sys.exit(2)except EOFError:sys.exit(1)+ except ValueError:+ logger.error("No scenes were selected. Exiting.")+ sys.exit(1)def scene_classes_from_file(file_path, require_single_scene=False, full_list=False):