Skip to content

Commit 0272ebc

Browse files
committed
[processing] fixed check to avoid adding a provider that is already added
1 parent 57b1618 commit 0272ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/core/Processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def addProvider(provider, updateList=True):
8686
"""Use this method to add algorithms from external providers.
8787
"""
8888

89-
if provider.getName() in [p.getName for p in algList.providers]:
89+
if provider.getName() in [p.getName() for p in algList.providers]:
9090
return
9191
try:
9292
provider.initializeSettings()

0 commit comments

Comments
 (0)