mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 11:32:28 +08:00
GP-6825: Handling a possible NotADirectoryError in pyghidra_launcher.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user