Skip to content

Commit

Permalink
[processing] fixed check to avoid adding a provider that is already a…
Browse files Browse the repository at this point in the history
…dded
  • Loading branch information
volaya committed Jun 1, 2016
1 parent 57b1618 commit 0272ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/Processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def addProvider(provider, updateList=True):
"""Use this method to add algorithms from external providers.
"""

if provider.getName() in [p.getName for p in algList.providers]:
if provider.getName() in [p.getName() for p in algList.providers]:
return
try:
provider.initializeSettings()
Expand Down

0 comments on commit 0272ebc

Please sign in to comment.