From 7601b2cf63174daf65595f692ce8ca1ad2b34ec5 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Thu, 14 May 2026 08:36:24 -0400 Subject: [PATCH] GP-6825: Handling a possible NotADirectoryError in pyghidra_launcher.py --- Ghidra/Features/PyGhidra/support/pyghidra_launcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ghidra/Features/PyGhidra/support/pyghidra_launcher.py b/Ghidra/Features/PyGhidra/support/pyghidra_launcher.py index 61e9706d98..a68bd4e800 100644 --- a/Ghidra/Features/PyGhidra/support/pyghidra_launcher.py +++ b/Ghidra/Features/PyGhidra/support/pyghidra_launcher.py @@ -104,6 +104,8 @@ def find_supported_python_exe(install_dir: Path, dev: bool) -> List[str]: return cmd except FileNotFoundError: pass + except NotADirectoryError: + pass return None