From 3a1282dd714a85bbe2f28ff9b513c9defffb6fd4 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Wed, 25 Jan 2023 23:15:49 -0800 Subject: [PATCH] tp.py: fix exception handler --- tools/tp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tp.py b/tools/tp.py index 19c0869937d..74f5b2ad9e3 100644 --- a/tools/tp.py +++ b/tools/tp.py @@ -317,7 +317,7 @@ def setup(debug: bool, game_path: Path, tools_path: Path): os.chdir(str(game_path.absolute())) extract_game_assets.extract("../" + str(iso)) os.chdir(previous_dir) - except e as Exception: + except Exception as e: LOG.error(f"failure:") LOG.error(e) sys.exit(1)