From 996cb5f36cb2558801b098c99d2b221378a13f1d Mon Sep 17 00:00:00 2001 From: rajdakin Date: Mon, 8 May 2017 12:22:55 +0200 Subject: [PATCH] Modified sound when done if runtime error (in case of quitting if -p is present) --- extract_scene.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extract_scene.py b/extract_scene.py index 763d1fb1..b82b7f65 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()