Skip to content


another follow up for 5ad518afd2. Allow use of OutputDirectory in scr…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed May 16, 2014
1 parent 6088dba commit 240c128
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/script/
Expand Up @@ -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

Expand Down Expand Up @@ -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'):
Expand Down

0 comments on commit 240c128

Please sign in to comment.