mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
Modified sound when done if runtime error (in case of quitting if -p is present)
This commit is contained in:
@ -177,6 +177,8 @@ def main():
|
|||||||
try:
|
try:
|
||||||
handle_scene(SceneClass(**scene_kwargs), **config)
|
handle_scene(SceneClass(**scene_kwargs), **config)
|
||||||
play_finish_sound()
|
play_finish_sound()
|
||||||
|
except RuntimeError:
|
||||||
|
play_finish_sound()
|
||||||
except:
|
except:
|
||||||
print "\n\n"
|
print "\n\n"
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Reference in New Issue
Block a user