Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Modified sound when done if runtime error (in case of quitting if -p is present)

rajdakin996cb5f36cb2
diff --git a/extract_scene.py b/extract_scene.py
index 763d1fb16..b82b7f656 100644
--- a/extract_scene.py
+++ b/extract_scene.py
@@ -177,6 +177,8 @@ def main():
try:
handle_scene(SceneClass(**scene_kwargs), **config)
play_finish_sound()
+ except RuntimeError:
+ play_finish_sound()
except:
print "\n\n"
traceback.print_exc()