Skip to content

Commit

Permalink
Check for Windows executables in addon requirements
Browse files Browse the repository at this point in the history
When checking addon requirements we also need to look for
Windows executables with the .exe extension.

Fixes #12954.
  • Loading branch information
Nick-Hall committed Aug 11, 2023
1 parent 55ea563 commit 52e43fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramps/gen/utils/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 52e43fa

Please sign in to comment.