Skip to content

Commit

Permalink
Update g.search.modules.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
  • Loading branch information
echoix and ninsbl committed Sep 28, 2024
1 parent 658a464 commit 8d2b1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/g.search.modules/g.search.modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def _exact_search(keyword, module_keywords):
:param module_keywords: comma separated list of keywords
"""
module_keywords = module_keywords.split(",")
return any(keyword == current for current in module_keywords)
return keyword in module_keywords


def _manpage_search(pattern, name):
Expand Down

0 comments on commit 8d2b1f8

Please sign in to comment.