From b4a659c81897f7e550129f79ae96d36e61bf7546 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Wed, 9 Aug 2023 18:18:20 +0100 Subject: [PATCH] Check for Windows executables in addon requirements When checking addon requirements we also need to look for Windows executables with the .exe extension. Fixes #12954. --- gramps/gen/utils/requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/utils/requirements.py b/gramps/gen/utils/requirements.py index 36b3e4de9fb..d3261e75607 100644 --- a/gramps/gen/utils/requirements.py +++ b/gramps/gen/utils/requirements.py @@ -86,7 +86,7 @@ def check_exe(self, executable): """ if executable in self.exe_list: return True - if search_for(executable): + if search_for(executable) or search_for(executable + ".exe"): self.exe_list.append(executable) return True else: