Skip to content
Permalink
Browse files
another follow up for 5ad518afd2. Allow use of OutputDirectory in scr…
…ipts
  • Loading branch information
alexbruy committed May 16, 2014
1 parent 6088dba commit 240c128cb71b4c93090006d7c50d8fcb58a0d086
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/script/ScriptAlgorithm.py
@@ -49,6 +49,7 @@
from processing.outputs.OutputString import OutputString
from processing.outputs.OutputHTML import OutputHTML
from processing.outputs.OutputFile import OutputFile
from processing.outputs.OutputDirectory import OutputDirectory
from processing.outputs.OutputFactory import OutputFactory
from processing.script.WrongScriptException import WrongScriptException

@@ -204,6 +205,8 @@ def processParameterLine(self, line):
out = OutputHTML()
elif tokens[1].lower().strip().startswith('output file'):
out = OutputFile()
elif tokens[1].lower().strip().startswith('output directory'):
out = OutputDirectory()
elif tokens[1].lower().strip().startswith('output number'):
out = OutputNumber()
elif tokens[1].lower().strip().startswith('output string'):

0 comments on commit 240c128

Please sign in to comment.