From ed7e61ddfce341f9b52254ccf4f52abe806e9c78 Mon Sep 17 00:00:00 2001 From: madeline Date: Wed, 31 May 2023 05:54:08 -0600 Subject: [PATCH] fix tp.py error report bug --- tools/tp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tp.py b/tools/tp.py index 250d6c7b679..9f8c7dd7bac 100644 --- a/tools/tp.py +++ b/tools/tp.py @@ -25,7 +25,7 @@ from pathlib import Path def _handle_import_error(ex: ImportError): MISSING_PREREQUISITES = ( - f"Missing prerequisite python module {e}.\n" + f"Missing prerequisite python module {ex}.\n" f"Run `python3 -m pip install --user -r tools/requirements.txt` to install prerequisites." )