getpath: fix warning typo (#126978)

This commit is contained in:
Filipe Laíns 🇵🇸
2024-11-18 23:50:01 +00:00
committed by GitHub
parent 4cd10762b0
commit 0063f5f314

View File

@@ -420,7 +420,7 @@ if real_executable:
# Only warn if the file actually exists and was unresolvable
# Otherwise users who specify a fake executable may get spurious warnings.
if isfile(real_executable):
warn(f'Failed to find real location of {base_executable}')
warn(f'Failed to find real location of {real_executable}')
if not executable_dir and os_name == 'darwin' and library:
# QUIRK: macOS checks adjacent to its library early