Skip to content

Commit 0a21d91

Browse files
committedNov 27, 2015
[processing] allow manually add scripts to scripts provider
1 parent 4b853bf commit 0a21d91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎python/plugins/processing/script/ScriptAlgorithmProvider.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,6 @@ def getDescription(self):
7676
def _loadAlgorithms(self):
7777
folder = ScriptUtils.scriptsFolder()
7878
self.algs = ScriptUtils.loadFromFolder(folder)
79+
80+
def addAlgorithmsFromFolder(self, folder)
81+
self.algs.extend(ScriptUtils.loadFromFolder(folder))

0 commit comments

Comments
 (0)
Please sign in to comment.