Skip to content

Commit

Permalink
[processing] Fix exception in algorithm locator filter if an
Browse files Browse the repository at this point in the history
algorithm has no group set

The group isn't mandatory

(cherry picked from commit 46dbd8b)
  • Loading branch information
nyalldawson committed Feb 3, 2021
1 parent b8cfec2 commit 7ef7b17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/gui/AlgorithmLocatorFilter.py
Expand Up @@ -87,7 +87,9 @@ def fetchResults(self, string, context, feedback):

string = string.lower()
tagScore = 0
tags = [*a.tags(), a.provider().name(), a.group()]
tags = [*a.tags(), a.provider().name()]
if a.group():
tags.append(a.group())

for t in tags:
if string in t.lower():
Expand Down

0 comments on commit 7ef7b17

Please sign in to comment.