mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 10:27:09 +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
|
return cmd
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
except NotADirectoryError:
|
||||||
|
pass
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user